initialise VBLANK
authorDave Airlie <airliedfreedesktop.org>
Wed, 11 Feb 2004 22:53:12 +0000 (22:53 +0000)
committerDave Airlie <airliedfreedesktop.org>
Wed, 11 Feb 2004 22:53:12 +0000 (22:53 +0000)
src/mesa/drivers/dri/mach64/mach64_context.c

index 205003a8514eadd3d10be70d98ec2abd155a7df4..2e30bb9cf31a4c336cd35170de8f55ced3a885a0 100644 (file)
@@ -296,6 +296,9 @@ mach64MakeCurrent( __DRIcontextPrivate *driContextPriv,
         newMach64Ctx->dirty = MACH64_UPLOAD_ALL;
       }
 
+      
+      driDrawableInitVBlank( driDrawPriv, newMach64Ctx->vblank_flags );
+
       if ( newMach64Ctx->driDrawable != driDrawPriv ) {
         newMach64Ctx->driDrawable = driDrawPriv;
         mach64CalcViewport( newMach64Ctx->glCtx );