diff options
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 751b0264395..609d8150641 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -694,6 +694,9 @@ brw_initialize_context_constants(struct brw_context *brw) */ if (devinfo->gen >= 7) ctx->Const.UseSTD430AsDefaultPacking = true; + + if (!(ctx->Const.ContextFlags & GL_CONTEXT_FLAG_DEBUG_BIT)) + ctx->Const.AllowMappedBuffersDuringExecution = true; } static void |