check for FEATURE_EXT_framebuffer_object to enable EXT_framebuffer_object
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 21 Jul 2005 15:48:39 +0000 (15:48 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 21 Jul 2005 15:48:39 +0000 (15:48 +0000)
src/mesa/main/extensions.c

index ee0b9ed..fae9841 100644 (file)
@@ -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;