diff options
author | marha <marha@users.sourceforge.net> | 2012-10-25 14:46:10 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-10-25 14:46:10 +0200 |
commit | f6c8097ba5b5bb714185762dbd0ff9958d23e804 (patch) | |
tree | 222a1d19624e55a205786f54edd7892aae79a7bd /mesalib/src/mesa/main/transformfeedback.c | |
parent | b929a2bab9e244cbc823f7bb2fe9e21537e3ceb7 (diff) | |
parent | 281f26a1dfda732687680a36857960f74608df5b (diff) | |
download | vcxsrv-f6c8097ba5b5bb714185762dbd0ff9958d23e804.tar.gz vcxsrv-f6c8097ba5b5bb714185762dbd0ff9958d23e804.tar.bz2 vcxsrv-f6c8097ba5b5bb714185762dbd0ff9958d23e804.zip |
Merge remote-tracking branch 'origin/released'
* origin/released:
fontconfig mesa pixman git update
Diffstat (limited to 'mesalib/src/mesa/main/transformfeedback.c')
-rw-r--r-- | mesalib/src/mesa/main/transformfeedback.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mesalib/src/mesa/main/transformfeedback.c b/mesalib/src/mesa/main/transformfeedback.c index ea6cfdf8c..0669b3a25 100644 --- a/mesalib/src/mesa/main/transformfeedback.c +++ b/mesalib/src/mesa/main/transformfeedback.c @@ -246,12 +246,15 @@ _mesa_init_transform_feedback_functions(struct dd_function_table *driver) void -_mesa_init_transform_feedback_dispatch(struct _glapi_table *disp) +_mesa_init_transform_feedback_dispatch(const struct gl_context *ctx, + struct _glapi_table *disp) { /* EXT_transform_feedback */ SET_BeginTransformFeedbackEXT(disp, _mesa_BeginTransformFeedback); SET_EndTransformFeedbackEXT(disp, _mesa_EndTransformFeedback); - SET_BindBufferOffsetEXT(disp, _mesa_BindBufferOffsetEXT); + if (_mesa_is_desktop_gl(ctx)) { + SET_BindBufferOffsetEXT(disp, _mesa_BindBufferOffsetEXT); + } SET_TransformFeedbackVaryingsEXT(disp, _mesa_TransformFeedbackVaryings); SET_GetTransformFeedbackVaryingEXT(disp, _mesa_GetTransformFeedbackVarying); /* ARB_transform_feedback2 */ |