summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/framebuffer.c
diff options
context:
space:
mode:
authorKevin Rogovin <kevin.rogovin@intel.com>2015-06-17 13:29:50 +0300
committerMartin Peres <martin.peres@linux.intel.com>2015-06-17 14:39:02 +0300
commitda81999bee7b1f1bc0bb296e903deb03617ae22c (patch)
treebc0114e6fae16ce34f18ae9cd5f51702e2b7a545 /src/mesa/main/framebuffer.c
parenta0cd1a4060fdb55a57609b460629c7059bbe7047 (diff)
downloadexternal_mesa3d-da81999bee7b1f1bc0bb296e903deb03617ae22c.zip
external_mesa3d-da81999bee7b1f1bc0bb296e903deb03617ae22c.tar.gz
external_mesa3d-da81999bee7b1f1bc0bb296e903deb03617ae22c.tar.bz2
mesa: Define infrastructure for ARB_framebuffer_no_attachments
Define the infrastructure for the extension GL_ARB_framebuffer_no_attachments: - extension table - additions to gl_framebuffer Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Kevin Rogovin <kevin.rogovin@intel.com>
Diffstat (limited to 'src/mesa/main/framebuffer.c')
-rw-r--r--src/mesa/main/framebuffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index 665a5ba..f49d74c 100644
--- 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);
}