From 00808eb39ac04c484fcabac6b18666cb2a0191e7 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Thu, 2 Jul 2015 19:30:08 +0200 Subject: 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 --- source/blender/gpu/intern/gpu_private.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'source/blender/gpu/intern/gpu_private.h') 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__ */ -- cgit v1.2.3