summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/framebuffer.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-04-27 21:07:11 +1000
committerTimothy Arceri <[email protected]>2017-04-28 10:19:59 +1000
commit2bc06767e11011eb83367868478b4775a8b52003 (patch)
tree444c978d0470eaf20a3c605f357726bb6faa4a25 /src/mesa/main/framebuffer.c
parent75a31a20af269c047661af33e28f793269537b79 (diff)
mesa: remove wip framebuffer code
This was added in 34b3b40af97d back in 2006. Seems it wasn't needed. Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/mesa/main/framebuffer.c')
-rw-r--r--src/mesa/main/framebuffer.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index 9002020b7a7..5069d373948 100644
--- a/src/mesa/main/framebuffer.c
+++ b/src/mesa/main/framebuffer.c
@@ -474,13 +474,6 @@ _mesa_update_framebuffer_visual(struct gl_context *ctx,
memset(&fb->Visual, 0, sizeof(fb->Visual));
fb->Visual.rgbMode = GL_TRUE; /* assume this */
-#if 0 /* this _might_ be needed */
- if (fb->_Status != GL_FRAMEBUFFER_COMPLETE_EXT) {
- /* leave visual fields zero'd */
- return;
- }
-#endif
-
/* find first RGB renderbuffer */
for (i = 0; i < BUFFER_COUNT; i++) {
if (fb->Attachment[i].Renderbuffer) {