diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-07-02 20:30:08 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-07-02 20:30:17 +0300 |
commit | 00808eb39ac04c484fcabac6b18666cb2a0191e7 (patch) | |
tree | 68319846e12dee6ababd82db4a4d28c1dcfe1c71 /source/blender/gpu/intern/gpu_private.h | |
parent | a5b2841aa0c4b1b90d29077ba174ed31ae8ee4d9 (diff) |
Make OpenGL debug contexts a flag --debug-gpu instead of a compile time
option.
This makes sense, since contexts get created at runtime, there is little
reason to require recompilation for this.
Only works on linux currently, will be doing more OSs later
Diffstat (limited to 'source/blender/gpu/intern/gpu_private.h')
-rw-r--r-- | source/blender/gpu/intern/gpu_private.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/gpu/intern/gpu_private.h b/source/blender/gpu/intern/gpu_private.h index 188a2d16abc..72627e3563e 100644 --- a/source/blender/gpu/intern/gpu_private.h +++ b/source/blender/gpu/intern/gpu_private.h @@ -29,21 +29,8 @@ void gpu_extensions_init(void); void gpu_extensions_exit(void); - /* gpu_debug.c */ -#ifdef WITH_GPU_DEBUG - void gpu_debug_init(void); void gpu_debug_exit(void); -# define GPU_DEBUG_INIT() gpu_debug_init() -# define GPU_DEBUG_EXIT() gpu_debug_exit() - -#else - -# define GPU_DEBUG_INIT() ((void)0) -# define GPU_DEBUG_EXIT() ((void)0) - -#endif - #endif /* __GPU_PRIVATE_H__ */ |