Mesa (master): mesa: fix error string, remove out of date comment

Brian Paul brianp at kemper.freedesktop.org
Fri Apr 29 17:43:33 PDT 2011


Module: Mesa
Branch: master
Commit: 076bd11112742ca615880f2c6dc6ed235ab37eb5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=076bd11112742ca615880f2c6dc6ed235ab37eb5

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Apr 29 18:42:09 2011 -0600

mesa: fix error string, remove out of date comment

---

 src/mesa/main/transformfeedback.c |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diff --git a/src/mesa/main/transformfeedback.c b/src/mesa/main/transformfeedback.c
index e038faf..47efad1 100644
--- a/src/mesa/main/transformfeedback.c
+++ b/src/mesa/main/transformfeedback.c
@@ -884,7 +884,7 @@ _mesa_ResumeTransformFeedback(void)
 
    if (!obj->Active || !obj->Paused) {
       _mesa_error(ctx, GL_INVALID_OPERATION,
-               "glPauseTransformFeedback(feedback not active or not paused)");
+               "glResumeTransformFeedback(feedback not active or not paused)");
       return;
    }
 
@@ -931,15 +931,4 @@ _mesa_DrawTransformFeedback(GLenum mode, GLuint name)
 }
 
 
-/*
-XXX misc to do:
-
-glGet*() for
-
-GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED
-GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE
-GL_TRANSFORM_FEEDBACK_BINDING
-*/
-
-
 #endif /* FEATURE_EXT_transform_feedback */



More information about the mesa-commit mailing list