aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_context.c')
-rw-r--r--src/mesa/drivers/dri/i965/intel_context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c
index c1a7e0c32f5..a3c1042e5f8 100644
--- a/src/mesa/drivers/dri/i965/intel_context.c
+++ b/src/mesa/drivers/dri/i965/intel_context.c
@@ -487,12 +487,12 @@ intelInitContext(struct brw_context *brw,
intel->gt = 0;
if (IS_HASWELL(devID)) {
- intel->is_haswell = true;
+ brw->is_haswell = true;
} else if (IS_BAYTRAIL(devID)) {
- intel->is_baytrail = true;
+ brw->is_baytrail = true;
intel->gt = 1;
} else if (IS_G4X(devID)) {
- intel->is_g4x = true;
+ brw->is_g4x = true;
}
brw->has_separate_stencil = brw->intelScreen->hw_has_separate_stencil;