From e06d6168cb4367728fac68264757a700932c2f73 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 4 Aug 2012 13:37:03 +0200 Subject: mesa: flush vertices in test_framebuffer_completeness --- src/mesa/main/fbobject.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index bc4497e57d8..aa8ba1882ce 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -685,6 +685,9 @@ _mesa_test_framebuffer_completeness(struct gl_context *ctx, assert(_mesa_is_user_fbo(fb)); + /* we're changing framebuffer fields here */ + FLUSH_VERTICES(ctx, _NEW_BUFFERS); + numImages = 0; fb->Width = 0; fb->Height = 0; -- cgit v1.2.3