swrast: Fix GL_ATI_separate_stencil
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 9 Jan 2009 21:56:44 +0000 (13:56 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 10 Jan 2009 00:44:08 +0000 (16:44 -0800)
GL_ATI_separate_stencil is enabled by default for software
rasterizers, but the extension functions weren't hooked up to the
dispatch table.

src/mesa/drivers/dri/swrast/swrast.c

index 49f1b8b9ee7a2fd0ced9fe8ed300753501edbe05..15b57244dcdd9da81d944b38b57dc2a735788489 100644 (file)
@@ -66,6 +66,7 @@
 #define need_GL_ARB_vertex_program
 #define need_GL_APPLE_vertex_array_object
 #define need_GL_ATI_fragment_shader
+#define need_GL_ATI_separate_stencil
 #define need_GL_EXT_depth_bounds_test
 #define need_GL_EXT_framebuffer_object
 #define need_GL_EXT_framebuffer_blit
@@ -96,6 +97,7 @@ const struct dri_extension card_extensions[] =
     { "GL_ARB_vertex_program",         GL_ARB_vertex_program_functions },
     { "GL_APPLE_vertex_array_object",  GL_APPLE_vertex_array_object_functions },
     { "GL_ATI_fragment_shader",                GL_ATI_fragment_shader_functions },
+    { "GL_ATI_separate_stencil",       GL_ATI_separate_stencil_functions },
     { "GL_EXT_depth_bounds_test",      GL_EXT_depth_bounds_test_functions },
     { "GL_EXT_framebuffer_object",     GL_EXT_framebuffer_object_functions },
     { "GL_EXT_framebuffer_blit",       GL_EXT_framebuffer_blit_functions },