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:
authorJens Verwiebe <info@jensverwiebe.de>2016-08-15 14:46:38 +0300
committerJens Verwiebe <info@jensverwiebe.de>2016-08-15 14:46:38 +0300
commit988b4e2c80d85cdacc165a1ab660c5f481485c6a (patch)
tree46b6e8c642a23d0eac0e01be748c66da7c4f81bc /source/blender/gpu/intern/gpu_debug.c
parent2c03d0186a014e4478aecb8e2a000bf2d530db10 (diff)
Tentative compile fix after recent gpu debug changes
Diffstat (limited to 'source/blender/gpu/intern/gpu_debug.c')
-rw-r--r--source/blender/gpu/intern/gpu_debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_debug.c b/source/blender/gpu/intern/gpu_debug.c
index 21458a22221..8d1ab43288a 100644
--- a/source/blender/gpu/intern/gpu_debug.c
+++ b/source/blender/gpu/intern/gpu_debug.c
@@ -43,6 +43,10 @@
#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) {