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

Jordan Justen jordan.l.justen at intel.com
Wed Oct 24 14:20:05 PDT 2012


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);
-- 
1.7.9.5



More information about the mesa-dev mailing list