]> 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 8d054b0ed85f600398c541a8b6f3e1b5923fe3ce..af820a46a8a5d4870be17a5521741e21346e50ab 100644 (file)
@@ -24,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)
 :      {