From 4faf36e3add98d7b693eaeb369ee1c16225f65d8 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 4 Jan 2010 16:28:59 +0000 Subject: Added OpenGL debugging function to print state information, was using this as a patch here for a while but might as well commit it. --- source/blender/gpu/GPU_draw.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/gpu/GPU_draw.h') diff --git a/source/blender/gpu/GPU_draw.h b/source/blender/gpu/GPU_draw.h index fabe1420e83..36af91f140b 100644 --- a/source/blender/gpu/GPU_draw.h +++ b/source/blender/gpu/GPU_draw.h @@ -57,6 +57,10 @@ struct SmokeModifierData; void GPU_state_init(void); +/* Debugging */ + +void GPU_state_print(void); + /* Material drawing * - first the state is initialized by a particular object and * it's materials -- cgit v1.2.3