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:
authorMike Erwin <significant.bit@gmail.com>2017-02-28 11:19:53 +0300
committerMike Erwin <significant.bit@gmail.com>2017-02-28 11:19:53 +0300
commit08e654935c6b223ae99f93aad022c887c47f6d73 (patch)
tree6c8701bc6d3231a46cd5a015207696c3ca76e54b /source/blender/gpu/GPU_debug.h
parent6a3dd21eddcfc6e4352e0246d889f0eee6dfb44a (diff)
OpenGL: remove GPU_state_print function
I was removing deprecated/obsolete state from this function. About halfway through I started questioning the need for the whole thing. GPU_state_print is not called anywhere, but is (was) available as a development aid. External GL debugging tools are really good these days! We should use those to examine state & not roll our own.
Diffstat (limited to 'source/blender/gpu/GPU_debug.h')
-rw-r--r--source/blender/gpu/GPU_debug.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/gpu/GPU_debug.h b/source/blender/gpu/GPU_debug.h
index 921deaaa6d6..c7a99d33654 100644
--- a/source/blender/gpu/GPU_debug.h
+++ b/source/blender/gpu/GPU_debug.h
@@ -41,9 +41,6 @@ extern "C" {
/* prints something if debug mode is active only */
void GPU_print_error_debug(const char *str);
-/* prints current OpenGL state */
-void GPU_state_print(void);
-
/* inserts a debug marker message for the debug context messaging system */
void GPU_string_marker(const char *str);