Mesa (master): mesa: Change OES_point_sprite to depend on ARB_point_sprite

Chad Versace chadversary at kemper.freedesktop.org
Wed Jan 12 23:45:15 UTC 2011


Module: Mesa
Branch: master
Commit: a7b5664c05a7a0bdc999caedf2dea17fee6bb5c8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a7b5664c05a7a0bdc999caedf2dea17fee6bb5c8

Author: Chad Versace <chad.versace at intel.com>
Date:   Wed Jan 12 15:21:23 2011 -0800

mesa: Change OES_point_sprite to depend on ARB_point_sprite

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 at freedesktop.org>

---

 src/mesa/main/extensions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index fff4c6e..750b12f 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -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 },




More information about the mesa-commit mailing list