summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-07-21 15:48:39 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-07-21 15:48:39 +0000
commit951dbf08e740ec5808c267f18199788c78f621d9 (patch)
tree4f571fc21c22408620062884b30cb2871cf358fd
parent49e74989c3ca690b29ad8280765c467bac537f73 (diff)
check for FEATURE_EXT_framebuffer_object to enable EXT_framebuffer_object
-rw-r--r--src/mesa/main/extensions.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index ee0b9ed6c7..fae9841651 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -227,7 +227,9 @@ _mesa_enable_sw_extensions(GLcontext *ctx)
ctx->Extensions.EXT_convolution = GL_TRUE;
ctx->Extensions.EXT_depth_bounds_test = GL_TRUE;
ctx->Extensions.EXT_fog_coord = GL_TRUE;
- ctx->Extensions.EXT_framebuffer_object = GL_TRUE; /*FALSE;*/
+#if FEATURE_EXT_framebuffer_object
+ ctx->Extensions.EXT_framebuffer_object = GL_TRUE;
+#endif
ctx->Extensions.EXT_histogram = GL_TRUE;
ctx->Extensions.EXT_multi_draw_arrays = GL_TRUE;
ctx->Extensions.EXT_paletted_texture = GL_TRUE;