mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
glapi: Remove mention of nonexistent enums
glext.h doesn't have GL_MIN_PROGRAM_TEXEL_OFFSET_EXT or GL_MAX_PROGRAM_TEXEL_OFFSET_EXT. Using them in the XML causes code to be generated for the xserver that won't compile. Use the names that exist instead. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
090dd9428d
commit
e089a0e2ee
1 changed files with 7 additions and 2 deletions
|
|
@ -31,10 +31,15 @@
|
|||
<enum name="UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT" value="0x8DD6"/>
|
||||
<enum name="UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT" value="0x8DD7"/>
|
||||
<enum name="UNSIGNED_INT_SAMPLER_BUFFER_EXT" value="0x8DD8"/>
|
||||
<enum name="MIN_PROGRAM_TEXEL_OFFSET_EXT" value="0x8904">
|
||||
|
||||
<!-- There is no MIN_PROGRAM_TEXEL_OFFSET_EXT in glext.h. There is
|
||||
MIN_PROGRAM_TEXEL_OFFSET_NV and MIN_PROGRAM_TEXEL_OFFSET (OpenGL
|
||||
3.0). Same goes for MAX_PROGRAM_TEXEL_OFFSET_EXT.
|
||||
-->
|
||||
<enum name="MIN_PROGRAM_TEXEL_OFFSET" value="0x8904">
|
||||
<size name="Get" mode="get"/>
|
||||
</enum>
|
||||
<enum name="MAX_PROGRAM_TEXEL_OFFSET_EXT" value="0x8905">
|
||||
<enum name="MAX_PROGRAM_TEXEL_OFFSET" value="0x8905">
|
||||
<size name="Get" mode="get"/>
|
||||
</enum>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue