summaryrefslogtreecommitdiff
path: root/src/mesa/main/framebuffer.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-09-28 15:46:46 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-09-28 15:46:46 +0000
commitd95000da2fdad78f25618fe9703f23806587b65a (patch)
treefde04f3dcf282100056d1400ae3e269dc90a46e4 /src/mesa/main/framebuffer.c
parentf7a8d8ffbb1f08ed4ffef9759c98d8d7e13b4ef0 (diff)
check for framebuffer completeness, code clean-up
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 e2cb009ff1..5fd264eae6 100644
--- a/src/mesa/main/framebuffer.c
+++ b/src/mesa/main/framebuffer.c
@@ -144,6 +144,7 @@ _mesa_initialize_framebuffer(struct gl_framebuffer *fb, const GLvisual *visual)
}
fb->Delete = _mesa_destroy_framebuffer;
+ fb->_Status = GL_FRAMEBUFFER_COMPLETE_EXT;
compute_depth_max(fb);
}