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 /intern/ghost/GHOST_Types.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 'intern/ghost/GHOST_Types.h')
-rw-r--r-- | intern/ghost/GHOST_Types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/ghost/GHOST_Types.h b/intern/ghost/GHOST_Types.h index 752a45c7473..7a73af3f249 100644 --- a/intern/ghost/GHOST_Types.h +++ b/intern/ghost/GHOST_Types.h @@ -57,7 +57,8 @@ typedef struct { typedef enum { GHOST_glStereoVisual = (1 << 0), - GHOST_glWarnSupport = (1 << 1) + GHOST_glWarnSupport = (1 << 1), + GHOST_glDebugContext = (1 << 2), } GHOST_GLFlags; |