r300: fix qtdemo qt4 startup
authorDave Airlie <airlied@redhat.com>
Thu, 2 Apr 2009 00:30:03 +0000 (11:30 +1100)
committerDave Airlie <airlied@redhat.com>
Thu, 2 Apr 2009 00:30:03 +0000 (11:30 +1100)
src/mesa/drivers/dri/r300/r300_context.c

index 87ec68a2cd88f15870ddfa18429b63d0cb12f909..5e271c60104ef400b6b7f483d4907fb92f307401 100644 (file)
@@ -498,7 +498,7 @@ void r300DestroyContext(__DRIcontextPrivate * driContextPriv)
                _vbo_DestroyContext(r300->radeon.glCtx);
                _swrast_DestroyContext(r300->radeon.glCtx);
 
-               rcommonFlushCmdBuf(&r300->radeon, __FUNCTION__);
+               radeon_firevertices(&r300->radeon);
 
                if (radeon->state.scissor.pClipRects) {
                        FREE(radeon->state.scissor.pClipRects);