intel: passs correct context type to intel_prepare_render() call
authorBrian Paul <brianp@vmware.com>
Tue, 2 Mar 2010 14:50:15 +0000 (07:50 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 2 Mar 2010 14:50:15 +0000 (07:50 -0700)
src/mesa/drivers/dri/intel/intel_context.c

index 767ad8c9d2c282be02549e99f63d48336fd19d7e..ec379a77acecbd46055a0c6ef78f6eaddcdd71ae 100644 (file)
@@ -891,7 +891,7 @@ intelMakeCurrent(__DRIcontext * driContextPriv,
       intel->driDrawable = driDrawPriv;
       driContextPriv->dri2.draw_stamp = driDrawPriv->dri2.stamp - 1;
       driContextPriv->dri2.read_stamp = driReadPriv->dri2.stamp - 1;
-      intel_prepare_render(&intel->ctx);
+      intel_prepare_render(intel);
    }
    else {
       _mesa_make_current(NULL, NULL, NULL);