diff options
author | Marek Olšák <[email protected]> | 2012-08-04 13:37:03 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-08-15 19:20:57 +0200 |
commit | e06d6168cb4367728fac68264757a700932c2f73 (patch) | |
tree | a7c3534be10efb1f664d459fd787b3bb1cdc8457 /src/mesa/main | |
parent | 538085c5d423df4fed3c3b2c473c3684f7b08db6 (diff) |
mesa: flush vertices in test_framebuffer_completeness
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/fbobject.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |