OSDN Git Service

dri-st: Unbreak GL_EXT_blend_equation_separate.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Tue, 14 Jul 2009 08:16:25 +0000 (01:16 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Tue, 14 Jul 2009 08:16:25 +0000 (01:16 -0700)
Since it has a dispatch table entry (for BlendEquationSeparateEXT,)
can't omit it from this list. It'll still get disabled if the cap
(PIPE_CAP_BLEND_EQUATION_SEPARATE) isn't set.

Somebody that doesn't suck at GL (read: not me) should probably add
this into progs/samples/blendeq or similar so we can test it.

src/gallium/state_trackers/dri/dri_extensions.c

index 8106a7a..7c04c2b 100644 (file)
@@ -82,6 +82,7 @@ const struct dri_extension card_extensions[] = {
    {"GL_ARB_vertex_program", GL_ARB_vertex_program_functions},
    {"GL_ARB_window_pos", GL_ARB_window_pos_functions},
    {"GL_EXT_blend_color", GL_EXT_blend_color_functions},
+   {"GL_EXT_blend_equation_separate", GL_EXT_blend_equation_separate_functions},
    {"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},