projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa: Define infrastructure for ARB_framebuffer_no_attachments
[mesa.git]
/
src
/
mesa
/
main
/
framebuffer.c
diff --git
a/src/mesa/main/framebuffer.c
b/src/mesa/main/framebuffer.c
index 665a5ba14920af40e6c5844402d5c0706d2dc68e..f49d74c89f043f195537c4fa972d77222e08247b 100644
(file)
--- a/
src/mesa/main/framebuffer.c
+++ b/
src/mesa/main/framebuffer.c
@@
-157,6
+157,7
@@
_mesa_initialize_window_framebuffer(struct gl_framebuffer *fb,
fb->_Status = GL_FRAMEBUFFER_COMPLETE_EXT;
fb->_AllColorBuffersFixedPoint = !visual->floatMode;
fb->_HasSNormOrFloatColorBuffer = visual->floatMode;
+ fb->_HasAttachments = true;
compute_depth_max(fb);
}