[Mesa-dev] [PATCH 3/9] mesa transform feedback: disable BindBufferOffsetEXT for CORE profiles

Ian Romanick idr at freedesktop.org
Thu Oct 25 11:04:07 PDT 2012


On 10/24/2012 02:20 PM, Jordan Justen wrote:

We still expose EXT_transform_feedback on core profiles, so this 
function needs to stay.

> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> ---
>   src/mesa/main/transformfeedback.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/transformfeedback.c b/src/mesa/main/transformfeedback.c
> index 0669b3a..9360d87 100644
> --- a/src/mesa/main/transformfeedback.c
> +++ b/src/mesa/main/transformfeedback.c
> @@ -252,7 +252,7 @@ _mesa_init_transform_feedback_dispatch(const struct gl_context *ctx,
>      /* EXT_transform_feedback */
>      SET_BeginTransformFeedbackEXT(disp, _mesa_BeginTransformFeedback);
>      SET_EndTransformFeedbackEXT(disp, _mesa_EndTransformFeedback);
> -   if (_mesa_is_desktop_gl(ctx)) {
> +   if (ctx->API == API_OPENGL) {
>         SET_BindBufferOffsetEXT(disp, _mesa_BindBufferOffsetEXT);
>      }
>      SET_TransformFeedbackVaryingsEXT(disp, _mesa_TransformFeedbackVaryings);
>



More information about the mesa-dev mailing list