Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
struct glx_context *oldGC = __glXGetCurrentContext();
int ret = Success;
struct glx_context *oldGC = __glXGetCurrentContext();
int ret = Success;
/* XXX: If this is left out, then libGL ends up not having this
* symbol, and drivers using it fail to load. Compare the
* implementation of this symbol to _glapi_noop_enable_warnings(),
/* XXX: If this is left out, then libGL ends up not having this
* symbol, and drivers using it fail to load. Compare the
* implementation of this symbol to _glapi_noop_enable_warnings(),
* library, though.
*/
(void)_glthread_GetID();
* library, though.
*/
(void)_glthread_GetID();
/* Make sure that the new context has a nonzero ID. In the request,
* a zero context ID is used only to mean that we bind to no current
/* Make sure that the new context has a nonzero ID. In the request,
* a zero context ID is used only to mean that we bind to no current
_glapi_check_multithread();
_glapi_check_multithread();
__glXLock();
if (oldGC == gc &&
__glXLock();
if (oldGC == gc &&