diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_context.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c index 7860e1fc036..461d4931c41 100644 --- a/src/mesa/drivers/dri/i965/intel_context.c +++ b/src/mesa/drivers/dri/i965/intel_context.c @@ -481,6 +481,7 @@ intelInitContext(struct brw_context *brw, } brw->intelScreen = intelScreen; + brw->bufmgr = intelScreen->bufmgr; if (!_mesa_initialize_context(&brw->ctx, api, mesaVis, shareCtx, functions)) { @@ -540,8 +541,6 @@ intelInitContext(struct brw_context *brw, */ brw->max_gtt_map_object_size = gtt_size / 4; - brw->bufmgr = intelScreen->bufmgr; - bo_reuse_mode = driQueryOptioni(&brw->optionCache, "bo_reuse"); switch (bo_reuse_mode) { case DRI_CONF_BO_REUSE_DISABLED: |