OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
538085c
)
mesa: flush vertices in test_framebuffer_completeness
author
Marek Olšák
<maraeo@gmail.com>
Sat, 4 Aug 2012 11:37:03 +0000
(13:37 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Wed, 15 Aug 2012 17:20:57 +0000
(19:20 +0200)
src/mesa/main/fbobject.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/fbobject.c
b/src/mesa/main/fbobject.c
index
bc4497e
..
aa8ba18
100644
(file)
--- 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;