svga: always link with C++
[mesa.git] / src / mesa / main / framebuffer.c
index 0597de24467d1ac9c20ff4c78e3cc9b6a560e53d..d3abc2b30b1b522b8853a7972a55c1f40cae2134 100644 (file)
@@ -335,7 +335,7 @@ _mesa_resize_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb,
 void
 _mesa_resizebuffers( struct gl_context *ctx )
 {
-   ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH( ctx );
+   FLUSH_VERTICES(ctx, 0);
 
    if (MESA_VERBOSE & VERBOSE_API)
       _mesa_debug(ctx, "glResizeBuffersMESA\n");