OSDN Git Service

glapi: Use GL_ or GLX_ prefix for all category names.
authorPaul Berry <stereotype441@gmail.com>
Wed, 17 Oct 2012 20:24:37 +0000 (13:24 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 6 Nov 2012 20:57:40 +0000 (12:57 -0800)
This patch standardizes the category names used in the glapi XML files
to begin each extension name with the prefix "GL_" or "GLX_".  There
is no functional change, because these category names are not used in
the generated code.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mapi/glapi/gen/es_EXT.xml

index 1fdb4d5..5f83726 100644 (file)
 </category>
 
 <!-- 93. GL_NV_read_buffer -->
-<category name="NV_read_buffer">
+<category name="GL_NV_read_buffer">
     <function name="ReadBufferNV" alias="ReadBuffer" es2="2.0">
         <param name="mode" type="GLenum"/>
     </function>
 </category>
 
 <!-- 111. GL_ANGLE_texture_compression_dxt -->
-<category name="ANGLE_texture_compression_dxt" number="111">
+<category name="GL_ANGLE_texture_compression_dxt" number="111">
     <enum name="COMPRESSED_RGBA_S3TC_DXT3_ANGLE"        value="0x83F2"/>
     <enum name="COMPRESSED_RGBA_S3TC_DXT5_ANGLE"        value="0x83F3"/>
 </category>