diff options
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c index e637d38..c1559e9 100644 --- a/src/mesa/drivers/dri/i915/intel_context.c +++ b/src/mesa/drivers/dri/i915/intel_context.c @@ -491,7 +491,7 @@ void intelSetBackClipRects( intelContextPtr intel ) void intelWindowMoved( intelContextPtr intel ) { - switch (intel->ctx.Color._DrawDestMask) { + switch (intel->ctx.Color._DrawDestMask[0]) { case DD_FRONT_LEFT_BIT: intelSetFrontClipRects( intel ); break; @@ -683,5 +683,5 @@ void intelInitState( GLcontext *ctx ) ctx->Stencil.ZPassFunc[0]); - ctx->Driver.DrawBuffer( ctx, ctx->Color.DrawBuffer ); + ctx->Driver.DrawBuffer( ctx, ctx->Color.DrawBuffer[0] ); } |