diff options
author | Chia-I Wu <[email protected]> | 2010-05-11 13:20:40 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-05-12 12:12:56 +0800 |
commit | b093016bd0660cc4ac6142aa8d4d6add5b6bfce8 (patch) | |
tree | 75b37b0c29ea2ae746542a979314d31027096bb5 /src/mesa/main/api_exec.c | |
parent | 903986ca128d51ff031cc9eafa1976618834a8de (diff) |
mesa: Make FEATURE_EXT_transform_feedback more modular.
This allows transformfeedback.h and st_cb_xformfb.h to be included and
used without knowing if FEATURE_EXT_transform_feedback is enabled. Fix
build of ES overlay.
Diffstat (limited to 'src/mesa/main/api_exec.c')
-rw-r--r-- | src/mesa/main/api_exec.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index f838561aef3..8fa8887a6c9 100644 --- a/src/mesa/main/api_exec.c +++ b/src/mesa/main/api_exec.c @@ -523,15 +523,7 @@ _mesa_create_exec_table(void) SET_DepthBoundsEXT(exec, _mesa_DepthBoundsEXT); /* 352. GL_EXT_transform_feedback */ -#if _HAVE_FULL_GL - SET_BeginTransformFeedbackEXT(exec, _mesa_BeginTransformFeedback); - SET_EndTransformFeedbackEXT(exec, _mesa_EndTransformFeedback); - SET_BindBufferRangeEXT(exec, _mesa_BindBufferRange); - SET_BindBufferBaseEXT(exec, _mesa_BindBufferBase); - SET_BindBufferOffsetEXT(exec, _mesa_BindBufferOffsetEXT); - SET_TransformFeedbackVaryingsEXT(exec, _mesa_TransformFeedbackVaryings); - SET_GetTransformFeedbackVaryingEXT(exec, _mesa_GetTransformFeedbackVarying); -#endif + _mesa_init_transform_feedback_dispatch(exec); /* 364. GL_EXT_provoking_vertex */ SET_ProvokingVertexEXT(exec, _mesa_ProvokingVertexEXT); |