]> git.tdb.fi Git - gldbg.git/commitdiff
Fix glXGetProcAddress serialisation order
authorMikko Rasa <tdb@tdb.fi>
Tue, 15 Jun 2010 08:45:46 +0000 (08:45 +0000)
committerMikko Rasa <tdb@tdb.fi>
Tue, 15 Jun 2010 08:45:46 +0000 (08:45 +0000)
source/glwrap_funcs.c

index e7676f6c1c70ada448e3cefb2eb3cec19332df35..b6bc4d85781acbda61b5c065610e85a3bfc82692 100644 (file)
@@ -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;