]> git.tdb.fi Git - gldbg.git/blobdiff - source/gldecoder.funcs.t
Check for and report OpenGL errors after each function call
[gldbg.git] / source / gldecoder.funcs.t
index 055a272ae3e60c60c51d7fa84ba8c58060108bd4..af820a46a8a5d4870be17a5521741e21346e50ab 100644 (file)
@@ -1,7 +1,4 @@
 # $Id$
-^typemap gl.tm
-^iomap gl.io
-^spec gl gl.spec
 wl('static unsigned decode_%s(GlDecoder *dec, const char *data)', func.name)
 wl('{')
 wl('   unsigned pos = 0;')
@@ -27,7 +24,7 @@ for p in params:
 wl(');')
 wl('   return pos;')
 wl('}')
-:static int decode_func(GlDecoder *dec, short func, const char *data)
+:static int decode_func(GlDecoder *dec, unsigned short func, const char *data)
 :{
 :      switch(func)
 :      {