diff options
author | Neil Roberts <neil@linux.intel.com> | 2010-11-05 14:55:46 +0000 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2010-11-05 18:45:31 +0000 |
commit | 3203c2382f53275314f9f706f652817cc515c25d (patch) | |
tree | 7b3f64964fde8f945fee0e611ac30c3169e561b7 /cogl/cogl-debug.h | |
parent | 117ef6baff7c644534d2c1ab81ef77b937ab4ec7 (diff) | |
download | cogl-3203c2382f53275314f9f706f652817cc515c25d.tar.gz |
Replace the disable-npots tool with a COGL_DEBUG option
Previously in the tests/tools directory we build a disable-npots
library which was used as an LD_PRELOAD to trick Cogl in to thinking
there is no NPOT texture extension. This is a little awkward to use so
it seems much simpler to just define a COGL_DEBUG option to disable
npot textures.
Diffstat (limited to 'cogl/cogl-debug.h')
-rw-r--r-- | cogl/cogl-debug.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cogl/cogl-debug.h b/cogl/cogl-debug.h index e9029afb..9a390b4a 100644 --- a/cogl/cogl-debug.h +++ b/cogl/cogl-debug.h @@ -55,7 +55,8 @@ typedef enum { COGL_DEBUG_SHOW_SOURCE = 1 << 22, COGL_DEBUG_DISABLE_BLENDING = 1 << 23, COGL_DEBUG_TEXTURE_PIXMAP = 1 << 24, - COGL_DEBUG_BITMAP = 1 << 25 + COGL_DEBUG_BITMAP = 1 << 25, + COGL_DEBUG_DISABLE_NPOT_TEXTURES = 1 << 26 } CoglDebugFlags; #ifdef COGL_ENABLE_DEBUG |