summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/fbobject.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/fbobject.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/fbobject.c')
-rw-r--r--src/mesa/main/fbobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index c5a7026..498edfb 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -957,6 +957,7 @@ _mesa_test_framebuffer_completeness(struct gl_context *ctx,
fb->Height = 0;
fb->_AllColorBuffersFixedPoint = GL_TRUE;
fb->_HasSNormOrFloatColorBuffer = GL_FALSE;
+ fb->_HasAttachments = true;
/* Start at -2 to more easily loop over all attachment points.
* -2: depth buffer