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/context.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/context.c')
-rw-r--r-- | src/mesa/main/context.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 979bc4019ba..b1f800f4c21 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -111,9 +111,7 @@ #include "points.h" #include "polygon.h" #include "queryobj.h" -#if FEATURE_ARB_sync #include "syncobj.h" -#endif #include "rastpos.h" #include "remap.h" #include "scissor.h" @@ -737,9 +735,7 @@ init_attrib_groups(GLcontext *ctx) _mesa_init_polygon( ctx ); _mesa_init_program( ctx ); _mesa_init_queryobj( ctx ); -#if FEATURE_ARB_sync _mesa_init_sync( ctx ); -#endif _mesa_init_rastpos( ctx ); _mesa_init_scissor( ctx ); _mesa_init_shader_state( ctx ); @@ -1100,9 +1096,7 @@ _mesa_free_context_data( GLcontext *ctx ) _mesa_free_program_data(ctx); _mesa_free_shader_state(ctx); _mesa_free_queryobj_data(ctx); -#if FEATURE_ARB_sync _mesa_free_sync_data(ctx); -#endif _mesa_free_varray_data(ctx); _mesa_free_transform_feedback(ctx); |