summaryrefslogtreecommitdiff
path: root/cogl/cogl-debug.c
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2010-11-24 17:29:00 +0000
committerNeil Roberts <neil@linux.intel.com>2010-11-24 18:06:44 +0000
commit4d0b167be4cab8ff6a89c0a4a66d37cd3ebeecad (patch)
tree86a7cbb69c9051f46262e057f9f24a50a66a97ba /cogl/cogl-debug.c
parent54ac6b16bf4f51c21201483dd59af76ff2f7c851 (diff)
downloadcogl-4d0b167be4cab8ff6a89c0a4a66d37cd3ebeecad.tar.gz
Add a COGL_DEBUG option to disable the fixed function pipeline backend
This adds COGL_DEBUG=disable-fixed to disable the fixed function pipeline backend. This is needed to test the GLSL shader generation because otherwise the fixed function backend would always override it.
Diffstat (limited to 'cogl/cogl-debug.c')
-rw-r--r--cogl/cogl-debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cogl/cogl-debug.c b/cogl/cogl-debug.c
index fe7ba5fe..34351d9e 100644
--- a/cogl/cogl-debug.c
+++ b/cogl/cogl-debug.c
@@ -68,6 +68,7 @@ static const GDebugKey cogl_behavioural_debug_keys[] = {
{ "disable-atlas", COGL_DEBUG_DISABLE_ATLAS },
{ "disable-texturing", COGL_DEBUG_DISABLE_TEXTURING},
{ "disable-arbfp", COGL_DEBUG_DISABLE_ARBFP},
+ { "disable-fixed", COGL_DEBUG_DISABLE_FIXED},
{ "disable-glsl", COGL_DEBUG_DISABLE_GLSL},
{ "disable-blending", COGL_DEBUG_DISABLE_BLENDING},
{ "disable-npot-textures", COGL_DEBUG_DISABLE_NPOT_TEXTURES},