diff options
author | Chia-I Wu <[email protected]> | 2010-09-13 13:35:12 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-09-14 15:49:47 +0800 |
commit | 10ff2646a443ca3c54d66443b346eb7063973b5e (patch) | |
tree | f2836e3ab2e033c6c07e4d5903a3d2f75cba61e1 /src/mesa/main/api_exec.c | |
parent | db6273e0ddc5dbfcff27b8f75982bbf348810d31 (diff) |
mesa: Less FEATURE_ARB_sync tests.
Add dummy static inline definitions to syncobj.h when FEATURE_ARB_sync
is 0, and remove most FEATURE_ARB_sync tests.
Diffstat (limited to 'src/mesa/main/api_exec.c')
-rw-r--r-- | src/mesa/main/api_exec.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index 82e1f0fdba5..c3c710f5ef9 100644 --- a/src/mesa/main/api_exec.c +++ b/src/mesa/main/api_exec.c @@ -101,9 +101,7 @@ #include "shaderapi.h" #include "uniforms.h" #endif -#if FEATURE_ARB_sync #include "syncobj.h" -#endif #include "main/dispatch.h" @@ -634,15 +632,7 @@ _mesa_create_exec_table(void) #endif /* GL_ARB_sync */ -#if FEATURE_ARB_sync - SET_IsSync(exec, _mesa_IsSync); - SET_DeleteSync(exec, _mesa_DeleteSync); - SET_FenceSync(exec, _mesa_FenceSync); - SET_ClientWaitSync(exec, _mesa_ClientWaitSync); - SET_WaitSync(exec, _mesa_WaitSync); - SET_GetInteger64v(exec, _mesa_GetInteger64v); - SET_GetSynciv(exec, _mesa_GetSynciv); -#endif + _mesa_init_sync_dispatch(exec); /* GL_ATI_fragment_shader */ _mesa_init_ati_fragment_shader_dispatch(exec); |