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

Ian Romanick idr at kemper.freedesktop.org
Mon Feb 28 21:23:55 UTC 2011


Module: Mesa
Branch: 7.10
Commit: 1328fbdefb2bcff91be5c3b806108d3bb93649d8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1328fbdefb2bcff91be5c3b806108d3bb93649d8

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>
(cherry picked from commit a7b5664c05a7a0bdc999caedf2dea17fee6bb5c8)

---

 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 201815c..7041dbd 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -226,7 +226,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