From: Mikko Rasa Date: Tue, 15 Jun 2010 08:45:46 +0000 (+0000) Subject: Fix glXGetProcAddress serialisation order X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=c6dc0db8e133362e2e6402ba006f99b3b69dfce0;p=gldbg.git Fix glXGetProcAddress serialisation order --- 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;