mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
fix compiling if opencl is not enabled at compile time
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4440 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -130,6 +130,7 @@ void Destroy() {
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(HAVE_OPENCL) && HAVE_OPENCL
|
||||
void HandleCLError(cl_int error, char* str)
|
||||
{
|
||||
char* name;
|
||||
@ -191,5 +192,6 @@ void HandleCLError(cl_int error, char* str)
|
||||
PanicAlert("OpenCL error: %s %s (%d)", str, name, error);
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user