diff options
author | Zack Rusin <zackr@vmware.com> | 2009-08-24 16:39:25 -0400 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2009-08-24 16:39:25 -0400 |
commit | cd5c7bfd93bf207d28610a484b732b8d3eca6059 (patch) | |
tree | 61725df97ac4015709bc7c869e01401fcb0d3d93 /src/mesa/glapi/glthread.h | |
parent | 534c13302291c07a44afd528f4c758ced4296db5 (diff) | |
parent | 4bccd693a72a0b42dffc849034263a68e779ca91 (diff) |
Merge branch 'master' of ssh://zack@git.freedesktop.org/git/mesa/mesa
Diffstat (limited to 'src/mesa/glapi/glthread.h')
-rw-r--r-- | src/mesa/glapi/glthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/glapi/glthread.h b/src/mesa/glapi/glthread.h index 8ec933a851..a36bea7176 100644 --- a/src/mesa/glapi/glthread.h +++ b/src/mesa/glapi/glthread.h @@ -322,7 +322,7 @@ extern __thread struct _glapi_table * _glapi_tls_Dispatch #elif !defined(GL_CALL) # if defined(THREADS) # define GET_DISPATCH() \ - ((__builtin_expect( _glapi_Dispatch != NULL, 1 )) \ + ((__builtin_expect(_glapi_SingleThreaded, 1)) \ ? _glapi_Dispatch : _glapi_get_dispatch()) # else # define GET_DISPATCH() _glapi_Dispatch |