aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_wm_state.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-07-06 00:46:38 -0700
committerKenneth Graunke <[email protected]>2013-07-09 14:09:35 -0700
commit8c9a54e7bcfc80295ad77097910d35958dfd3644 (patch)
tree756737ac6b3f31d4a5003f12539dbcff5a910de0 /src/mesa/drivers/dri/i965/brw_wm_state.c
parent53631be4ebaa4fb13a7f129727c1cdd32fcc6f3d (diff)
i965: Delete intel_context entirely.
This makes brw_context inherit directly from gl_context; that was the only thing left in intel_context. Signed-off-by: Kenneth Graunke <[email protected]> Acked-by: Chris Forbes <[email protected]> Acked-by: Paul Berry <[email protected]> Acked-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm_state.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_state.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_state.c b/src/mesa/drivers/dri/i965/brw_wm_state.c
index 660b03247f2..f221846f0c8 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_state.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_state.c
@@ -44,7 +44,7 @@
bool
brw_color_buffer_write_enabled(struct brw_context *brw)
{
- struct gl_context *ctx = &brw->intel.ctx;
+ struct gl_context *ctx = &brw->ctx;
const struct gl_fragment_program *fp = brw->fragment_program;
int i;
@@ -73,8 +73,7 @@ brw_color_buffer_write_enabled(struct brw_context *brw)
static void
brw_upload_wm_unit(struct brw_context *brw)
{
- struct intel_context *intel = &brw->intel;
- struct gl_context *ctx = &intel->ctx;
+ struct gl_context *ctx = &brw->ctx;
const struct gl_fragment_program *fp = brw->fragment_program;
struct brw_wm_unit_state *wm;