diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-01-04 19:28:59 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-01-04 19:28:59 +0300 |
commit | 4faf36e3add98d7b693eaeb369ee1c16225f65d8 (patch) | |
tree | b8416b0e2b73e9ef39b251063cc506496fcda3f7 /source/blender/gpu/GPU_draw.h | |
parent | d92a6f140d0b9ba90de290feb8fdb8ef47125f08 (diff) |
Added OpenGL debugging function to print state information, was using this as
a patch here for a while but might as well commit it.
Diffstat (limited to 'source/blender/gpu/GPU_draw.h')
-rw-r--r-- | source/blender/gpu/GPU_draw.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |