[Mesa-dev] [PATCH] glapi: Fix incorrect enum value.
Ian Romanick
idr at freedesktop.org
Wed Feb 22 13:52:38 PST 2012
On 02/22/2012 01:41 PM, Paul Berry wrote:
> From http://www.opengl.org/registry/specs/ARB/seamless_cube_map.txt:
>
> Accepted by the<cap> parameter of Enable, Disable and IsEnabled,
> and by the<pname> parameter of GetBooleanv, GetIntegerv, GetFloatv
> and GetDoublev:
>
> TEXTURE_CUBE_MAP_SEAMLESS 0x884F
Oops. That was my typo. You'll also have to regenerate the various
files that depend on the XML definitions. I think this change should
only cause changes in src/mesa/main/enums.c.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
> ---
> src/mapi/glapi/gen/ARB_seamless_cube_map.xml | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/mapi/glapi/gen/ARB_seamless_cube_map.xml b/src/mapi/glapi/gen/ARB_seamless_cube_map.xml
> index 8dc827c..84e8aa8 100644
> --- a/src/mapi/glapi/gen/ARB_seamless_cube_map.xml
> +++ b/src/mapi/glapi/gen/ARB_seamless_cube_map.xml
> @@ -4,7 +4,7 @@
> <OpenGLAPI>
>
> <category name="GL_ARB_seamless_cube_map" number="65">
> -<enum name="TEXTURE_CUBE_MAP_SEAMLESS" count="1" value="0x88F4">
> +<enum name="TEXTURE_CUBE_MAP_SEAMLESS" count="1" value="0x884F">
> <size name="Get" mode="get"/>
> </enum>
> </category>
More information about the mesa-dev
mailing list