diff options
author | Ian Romanick <idr@us.ibm.com> | 2005-02-08 19:52:26 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2005-02-08 19:52:26 +0000 |
commit | a91e0218a3965c0617b959b2b42e07e63fc9cc54 (patch) | |
tree | b2effb9ca85148dbf4bc243b0503d34bf4bcfeff /src/mesa/glapi | |
parent | 5e4a7581df02f08edfee180383068cfeaad85dd3 (diff) |
Correct a couple problems / omissions in the DTD.
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r-- | src/mesa/glapi/gl_API.xml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/mesa/glapi/gl_API.xml b/src/mesa/glapi/gl_API.xml index aa70ab0ee1..2cbb3941c6 100644 --- a/src/mesa/glapi/gl_API.xml +++ b/src/mesa/glapi/gl_API.xml @@ -1,10 +1,11 @@ <?xml version="1.0"?> <!DOCTYPE OpenGLAPI [ <!ELEMENT OpenGLAPI (category+)> -<!ELEMENT category (type*, enum*, function*)> +<!ELEMENT category (type*, enum*, function*)*> <!ELEMENT type EMPTY> -<!ELEMENT enum EMPTY> -<!ELEMENT function (param*, return?, glx?)> +<!ELEMENT enum (size*)> +<!ELEMENT size EMPTY> +<!ELEMENT function (param*, return?, glx?)*> <!ELEMENT param EMPTY> <!ELEMENT return EMPTY> <!ELEMENT glx EMPTY> @@ -15,10 +16,14 @@ size CDATA #REQUIRED glx_name CDATA #IMPLIED> <!ATTLIST enum name CDATA #REQUIRED + count CDATA #IMPLIED value CDATA #REQUIRED> <!ATTLIST function name CDATA #REQUIRED - offset CDATA #REQUIRED + alias CDATA #IMPLIED + offset CDATA #IMPLIED vectorequiv CDATA #IMPLIED> +<!ATTLIST size name CDATA #REQUIRED + mode CDATA #IMPLIED> <!ATTLIST param name CDATA #REQUIRED type CDATA #REQUIRED count CDATA #IMPLIED @@ -53,7 +58,7 @@ <!-- The various attributes for param and glx have the meanings listed below. -When adding new functions, please annote them correct. In most cases this +When adding new functions, please annote them correctly. In most cases this will just mean adding a '<glx ignore="true"/>' tag. param: |