r300: enable FBO for a test
authorDave Airlie <airlied@linux.ie>
Fri, 20 Mar 2009 12:15:22 +0000 (22:15 +1000)
committerDave Airlie <airlied@linux.ie>
Fri, 20 Mar 2009 12:15:22 +0000 (22:15 +1000)
src/mesa/drivers/dri/r300/r300_context.c

index 5bae37e1b1ed334c9aace2d2e7ec941cdcecffc9..9c9a270558ffd91d56b33c7b77fbd41d6ea4fb34 100644 (file)
@@ -82,14 +82,17 @@ int hw_tcl_on = 1;
 #define need_GL_EXT_blend_equation_separate
 #define need_GL_EXT_blend_func_separate
 #define need_GL_EXT_blend_minmax
+#define need_GL_EXT_framebuffer_object
 #define need_GL_EXT_fog_coord
 #define need_GL_EXT_gpu_program_parameters
 #define need_GL_EXT_secondary_color
 #define need_GL_EXT_stencil_two_side
 #define need_GL_ATI_separate_stencil
 #define need_GL_NV_vertex_program
+
 #include "extension_helper.h"
 
+
 const struct dri_extension card_extensions[] = {
   /* *INDENT-OFF* */
   {"GL_ARB_depth_texture",             NULL},
@@ -110,6 +113,7 @@ const struct dri_extension card_extensions[] = {
   {"GL_EXT_blend_func_separate",       GL_EXT_blend_func_separate_functions},
   {"GL_EXT_blend_minmax",              GL_EXT_blend_minmax_functions},
   {"GL_EXT_blend_subtract",            NULL},
+   { "GL_EXT_framebuffer_object",       GL_EXT_framebuffer_object_functions },
   {"GL_EXT_fog_coord",                 GL_EXT_fog_coord_functions },
   {"GL_EXT_gpu_program_parameters",     GL_EXT_gpu_program_parameters_functions},
   {"GL_EXT_secondary_color",           GL_EXT_secondary_color_functions},