Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2016-08-15 16:34:41 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2016-08-15 16:36:01 +0300
commitad4a01ec0fa72ab4626922e9d5d3dda1a46ca01b (patch)
tree21a8e05f51f80a11fd7f6d9a165dc4991371f764 /source/blender/gpu
parent988b4e2c80d85cdacc165a1ab660c5f481485c6a (diff)
Fix OpenGL backtrace build errors, without disabling warnings.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_debug.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/gpu/intern/gpu_debug.c b/source/blender/gpu/intern/gpu_debug.c
index 8d1ab43288a..af69c2fca36 100644
--- a/source/blender/gpu/intern/gpu_debug.c
+++ b/source/blender/gpu/intern/gpu_debug.c
@@ -30,6 +30,7 @@
*/
#include "BLI_sys_types.h"
+#include "BLI_system.h"
#include "BKE_global.h"
@@ -43,10 +44,6 @@
#define CASE_CODE_RETURN_STR(code) case code: return #code;
-#if (defined(__GNUC__) && !defined(__clang__)) && defined(NDEBUG)
-# pragma GCC diagnostic ignored "-Wimplicit-function-declaration"
-#endif
-
static const char *gpu_gl_error_symbol(GLenum err)
{
switch (err) {