intel: passs correct context type to intel_prepare_render() call

This commit is contained in:
Brian Paul
2010-03-02 07:50:15 -07:00
parent cb099c2ecf
commit 8417528e3a

View 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);