aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_state_upload.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state_upload.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_state_upload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c
index 2adf20396c5..bdb2862f55f 100644
--- a/src/mesa/drivers/dri/i965/brw_state_upload.c
+++ b/src/mesa/drivers/dri/i965/brw_state_upload.c
@@ -243,7 +243,7 @@ brw_upload_initial_gpu_state(struct brw_context *brw)
* right away rather than doing it via state atoms. This saves a small
* amount of overhead on every draw call.
*/
- if (!intel->hw_ctx)
+ if (!brw->hw_ctx)
return;
brw_upload_invariant_state(brw);