Mesa (master): intel: Use the new "ctx" local variable I just added some more.
Eric Anholt
anholt at kemper.freedesktop.org
Fri Mar 1 20:28:56 UTC 2013
Module: Mesa
Branch: master
Commit: c0674fa5cdb27e367e29e954c03ce1e3f3b5c4a0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0674fa5cdb27e367e29e954c03ce1e3f3b5c4a0
Author: Eric Anholt <eric at anholt.net>
Date: Fri Feb 22 11:46:19 2013 -0800
intel: Use the new "ctx" local variable I just added some more.
Reviewed-and-tested-by: Ian Romanick <ian.d.romanick at intel.com>
---
src/mesa/drivers/dri/intel/intel_context.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c
index 653bf47..435f097 100644
--- a/src/mesa/drivers/dri/intel/intel_context.c
+++ b/src/mesa/drivers/dri/intel/intel_context.c
@@ -991,7 +991,7 @@ intelMakeCurrent(__DRIcontext * driContextPriv,
}
intel_prepare_render(intel);
- _mesa_make_current(&intel->ctx, fb, readFb);
+ _mesa_make_current(ctx, fb, readFb);
intel_gles3_srgb_workaround(intel, ctx->WinSysDrawBuffer);
intel_gles3_srgb_workaround(intel, ctx->WinSysReadBuffer);
@@ -1000,7 +1000,7 @@ intelMakeCurrent(__DRIcontext * driContextPriv,
* is NULL at that point. We can't call _mesa_makecurrent()
* first, since we need the buffer size for the initial
* viewport. So just call intel_draw_buffer() again here. */
- intel_draw_buffer(&intel->ctx);
+ intel_draw_buffer(ctx);
}
else {
_mesa_make_current(NULL, NULL, NULL);
More information about the mesa-commit
mailing list