aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/gen6_viewport_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/gen6_viewport_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/gen6_viewport_state.c')
-rw-r--r--src/mesa/drivers/dri/i965/gen6_viewport_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_viewport_state.c b/src/mesa/drivers/dri/i965/gen6_viewport_state.c
index b6dbd7788c8..033592035f9 100644
--- a/src/mesa/drivers/dri/i965/gen6_viewport_state.c
+++ b/src/mesa/drivers/dri/i965/gen6_viewport_state.c
@@ -37,7 +37,7 @@
static void
gen6_upload_clip_vp(struct brw_context *brw)
{
- struct gl_context *ctx = &brw->intel.ctx;
+ struct gl_context *ctx = &brw->ctx;
struct brw_clipper_viewport *vp;
vp = brw_state_batch(brw, AUB_TRACE_CLIP_VP_STATE,
@@ -78,7 +78,7 @@ const struct brw_tracked_state gen6_clip_vp = {
static void
gen6_upload_sf_vp(struct brw_context *brw)
{
- struct gl_context *ctx = &brw->intel.ctx;
+ struct gl_context *ctx = &brw->ctx;
const GLfloat depth_scale = 1.0F / ctx->DrawBuffer->_DepthMaxF;
struct brw_sf_viewport *sfv;
GLfloat y_scale, y_bias;