diff options
author | Dave Airlie <airliedfreedesktop.org> | 2004-02-11 22:53:12 +0000 |
---|---|---|
committer | Dave Airlie <airliedfreedesktop.org> | 2004-02-11 22:53:12 +0000 |
commit | d4baed717f8da74ab641338a134a610daeb2e7dd (patch) | |
tree | c7aad3b71b39504f77678e3fce5137fb6f220991 /src/mesa/drivers | |
parent | 2020278d06f927eed0bcba919f70846df090fc45 (diff) |
initialise VBLANK
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/mach64/mach64_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_context.c b/src/mesa/drivers/dri/mach64/mach64_context.c index 205003a8514..2e30bb9cf31 100644 --- a/src/mesa/drivers/dri/mach64/mach64_context.c +++ b/src/mesa/drivers/dri/mach64/mach64_context.c @@ -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 ); |