mesa: Change OES_point_sprite to depend on ARB_point_sprite
authorChad Versace <chad.versace@intel.com>
Wed, 12 Jan 2011 23:21:23 +0000 (15:21 -0800)
committerChad Versace <chad.versace@intel.com>
Wed, 12 Jan 2011 23:45:03 +0000 (15:45 -0800)
The extension string in GLES1 contexts always advertised
GL_OES_point_sprite. Now advertisement depends on ARB_point_sprite being
enabled.

Reviewed-by: Ian Romanick <idr@freedesktop.org>
src/mesa/main/extensions.c

index fff4c6e..750b12f 100644 (file)
@@ -227,7 +227,7 @@ static const struct extension extension_table[] = {
    { "GL_OES_matrix_get",                          o(dummy_true),                                   ES1       },
    { "GL_OES_packed_depth_stencil",                o(EXT_packed_depth_stencil),                     ES1 | ES2 },
    { "GL_OES_point_size_array",                    o(dummy_true),                                   ES1       },
-   { "GL_OES_point_sprite",                        o(dummy_true),                                   ES1       },
+   { "GL_OES_point_sprite",                        o(ARB_point_sprite),                             ES1       },
    { "GL_OES_query_matrix",                        o(dummy_true),                                   ES1       },
    { "GL_OES_read_format",                         o(OES_read_format),                         GL | ES1       },
    { "GL_OES_rgb8_rgba8",                          o(EXT_framebuffer_object),                       ES1 | ES2 },