GPU: Fix compilation issue caused by rBb43f4fda19b9
This commit is contained in:
parent
b43f4fda19
commit
9dd4d87f18
|
@ -34,13 +34,11 @@
|
|||
|
||||
#include <mutex>
|
||||
|
||||
#ifdef DEBUG
|
||||
/* Enabled on MacOS by default since there is no support for debug callbacks. */
|
||||
# ifdef __APPLE__
|
||||
# define GL_CHECK_ERROR(info) GLContext::check_error(info)
|
||||
# else
|
||||
# define GL_CHECK_ERROR(info)
|
||||
# endif
|
||||
#if defined(DEBUG) && defined(__APPLE__)
|
||||
# define GL_CHECK_ERROR(info) GLContext::check_error(info)
|
||||
#else
|
||||
# define GL_CHECK_ERROR(info)
|
||||
#endif
|
||||
|
||||
namespace blender {
|
||||
|
|
Loading…
Reference in New Issue