diff options
author | Kevin Rogovin <kevin.rogovin@intel.com> | 2015-06-17 13:29:50 +0300 |
---|---|---|
committer | Martin Peres <martin.peres@linux.intel.com> | 2015-06-17 14:39:02 +0300 |
commit | da81999bee7b1f1bc0bb296e903deb03617ae22c (patch) | |
tree | bc0114e6fae16ce34f18ae9cd5f51702e2b7a545 /src/mesa/main/fbobject.c | |
parent | a0cd1a4060fdb55a57609b460629c7059bbe7047 (diff) | |
download | external_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.c | 1 |
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 |