st: call _glapi_check_multithread from st_make_current
authorKeith Whitwell <keithw@vmware.com>
Wed, 18 Mar 2009 19:14:45 +0000 (19:14 +0000)
committerKeith Whitwell <keithw@vmware.com>
Wed, 18 Mar 2009 19:14:45 +0000 (19:14 +0000)
commit08d44512e973f1388f8b1d4436cc2aa888c6060e
tree6898fc211ac4eb4894fb18f671bc8fa2f6caa3c9
parentcaf99be99976166f92d90203966a2dd42634e2af
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.
src/gallium/state_trackers/glx/xlib/xm_api.c
src/mesa/state_tracker/st_context.c