glx: Bind to our context before __glXSetCurrentContext
authorJeremy Huddleston <jeremyhu@apple.com>
Fri, 17 Jun 2011 19:24:55 +0000 (12:24 -0700)
committerJeremy Huddleston <jeremyhu@apple.com>
Mon, 20 Jun 2011 23:54:58 +0000 (16:54 -0700)
commit4fbdde889ce5875243c588e4c7c9f4b775d0d7a5
tree2b681c3f7bc1c34afada19587f299ce1004cfc28
parent517614141be2a1f392a4ea87c1077911ccadf35f
glx: Bind to our context before __glXSetCurrentContext

We want to bind to our context before calling __glXSetCurrentContext or
messing with the gc rect in order to properly handle error conditions.

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
src/glx/glxcurrent.c