diff options
author | Timothy Arceri <[email protected]> | 2013-08-26 19:02:11 +1000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-09-04 07:47:49 -0600 |
commit | b5c4795f386976830370f56d1fa5a1c4099d88e2 (patch) | |
tree | 2051f70d7f606244231760940b7f2856aa227dd9 /src/mesa/drivers | |
parent | a7f5eb8ebb953bb106c06cabb20a309cef392252 (diff) |
mesa: Implement GL_DEBUG_OUTPUT
Signed-off-by: Timothy Arceri <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 23210761d43..d0b2fc1fdc8 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -468,8 +468,10 @@ brwCreateContext(int api, if ((flags & __DRI_CTX_FLAG_FORWARD_COMPATIBLE) != 0) ctx->Const.ContextFlags |= GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT; + ctx->Debug.DebugOutput = GL_FALSE; if ((flags & __DRI_CTX_FLAG_DEBUG) != 0) { ctx->Const.ContextFlags |= GL_CONTEXT_FLAG_DEBUG_BIT; + ctx->Debug.DebugOutput = GL_TRUE; /* Turn on some extra GL_ARB_debug_output generation. */ brw->perf_debug = true; |