diff options
author | Keith Whitwell <[email protected]> | 2009-03-18 19:14:45 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-03-18 19:14:45 +0000 |
commit | 08d44512e973f1388f8b1d4436cc2aa888c6060e (patch) | |
tree | 6898fc211ac4eb4894fb18f671bc8fa2f6caa3c9 /src/gallium/state_trackers/glx | |
parent | caf99be99976166f92d90203966a2dd42634e2af (diff) |
st: call _glapi_check_multithread from st_make_current
This function is called from many OS-dependent versions of MakeCurrent.
Move the check for multithreading to this central location to avoid
having to make this check from all the callers.
Diffstat (limited to 'src/gallium/state_trackers/glx')
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/xm_api.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.c b/src/gallium/state_trackers/glx/xlib/xm_api.c index 75a4efd823e..a3d16516531 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_api.c +++ b/src/gallium/state_trackers/glx/xlib/xm_api.c @@ -1058,11 +1058,6 @@ GLboolean XMesaMakeCurrent2( XMesaContext c, XMesaBuffer drawBuffer, c->xm_buffer = drawBuffer; c->xm_read_buffer = readBuffer; - /* Call this periodically to detect when the user has begun using - * GL rendering from multiple threads. - */ - _glapi_check_multithread(); - st_make_current(c->st, drawBuffer->stfb, readBuffer->stfb); xmesa_check_and_update_buffer_size(c, drawBuffer); |