X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fglwrap_funcs.c;h=b6bc4d85781acbda61b5c065610e85a3bfc82692;hb=5cf4479b591bce68657a938b201114680839ec92;hp=e7676f6c1c70ada448e3cefb2eb3cec19332df35;hpb=03c86c2f632b642aa94f721e326787e91aa69c25;p=gldbg.git diff --git a/source/glwrap_funcs.c b/source/glwrap_funcs.c index e7676f6..b6bc4d8 100644 --- a/source/glwrap_funcs.c +++ b/source/glwrap_funcs.c @@ -101,8 +101,8 @@ void (*glXGetProcAddress(const GLubyte *procname))(void) } begin_packet(FUNC_GLXGETPROCADDRESS); - write_pointer(ret); write_string((const char *)procname); + write_pointer(ret); send_packet(); return ret;