diff options
author | Kevin Rogovin <[email protected]> | 2015-06-17 13:29:50 +0300 |
---|---|---|
committer | Martin Peres <[email protected]> | 2015-06-17 14:39:02 +0300 |
commit | da81999bee7b1f1bc0bb296e903deb03617ae22c (patch) | |
tree | bc0114e6fae16ce34f18ae9cd5f51702e2b7a545 /src/mesa/main/fbobject.c | |
parent | a0cd1a4060fdb55a57609b460629c7059bbe7047 (diff) |
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 <[email protected]>
Signed-off-by: Kevin Rogovin <[email protected]>
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 c5a702636a8..498edfb564c 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 |