From 08e654935c6b223ae99f93aad022c887c47f6d73 Mon Sep 17 00:00:00 2001 From: Mike Erwin Date: Tue, 28 Feb 2017 03:19:53 -0500 Subject: 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. --- source/blender/gpu/GPU_debug.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'source/blender/gpu/GPU_debug.h') 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); -- cgit v1.2.3