diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/transformfeedback.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/transformfeedback.c b/src/mesa/main/transformfeedback.c index 9c06bc84009..7c0ff6fc896 100644 --- a/src/mesa/main/transformfeedback.c +++ b/src/mesa/main/transformfeedback.c @@ -1291,12 +1291,13 @@ _mesa_GetTransformFeedbacki64_v(GLuint xfb, GLenum pname, GLuint index, return; } + compute_transform_feedback_buffer_sizes(obj); switch(pname) { case GL_TRANSFORM_FEEDBACK_BUFFER_START: *param = obj->Offset[index]; break; case GL_TRANSFORM_FEEDBACK_BUFFER_SIZE: - *param = obj->RequestedSize[index]; + *param = obj->Size[index]; break; default: _mesa_error(ctx, GL_INVALID_ENUM, |