GPU: Fix compilation issue caused by rBb43f4fda19b9

This commit is contained in:
Clément Foucault 2020-08-25 15:16:06 +02:00
parent b43f4fda19
commit 9dd4d87f18
1 changed files with 4 additions and 6 deletions

View File

@ -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 {