Change the 'count' for COMPRESSED_TEXTURE_FORMATS from "?" to "-1". This
authorIan Romanick <idr@us.ibm.com>
Mon, 3 Oct 2005 15:05:40 +0000 (15:05 +0000)
committerIan Romanick <idr@us.ibm.com>
Mon, 3 Oct 2005 15:05:40 +0000 (15:05 +0000)
commit8ef0519bbe0318920170e82b6b52853920a897c4
tree078e5698b1ef5a9397f87039435f398893a32c2c
parent9a3a1497e5d709015486d0c7801688812ca446da
Change the 'count' for COMPRESSED_TEXTURE_FORMATS from "?" to "-1".  This
signals to the script (glX_proto_size.py) that generates the server-side
size functions that a handcoded query is needed to determine the data size.

Also do s/FOG_COORD_SOURCE/FOG_COORD_SRC/.

When initializing the count in glx_enum::__init__, cast the local property
to int.  Thanks to Python's dynamic typing, if this isn't done the type of
stored count will be a string instead of an int.
src/mesa/glapi/glX_XML.py
src/mesa/glapi/gl_API.xml