OSDN Git Service

mesa: Expose GL_OES_texture_npot on GLES1
authorChad Versace <chad.versace@linux.intel.com>
Wed, 8 May 2013 16:46:21 +0000 (09:46 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Mon, 13 May 2013 19:08:37 +0000 (12:08 -0700)
commit1776eeedd3aeb973cfb427a1b35c338528236421
treef111524cd9a85352fda9e929f9e5a2aa9cfbe87a
parenta61a0dbed29e284551ec7d033a0d2c8f2e1d6888
mesa: Expose GL_OES_texture_npot on GLES1

Mesa's extension table incorrectly lists this GL_OES_texture_npot as
ES2-only. It's also an ES1 extension. This patch adds ES1 to the
extensions API mask.

From the GL_OES_texture_npot spec:
    OpenGL ES 1.0 or OpenGL ES 2.0 is required. This extension is
    written against OpenGL ES 1.1.12 and OpenGL ES 2.0.25.

Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/extensions.c