Catch GL_INVALID_FRAMEBUFFER_OPERATION error.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 23 Nov 2010 21:35:41 +0000 (21:35 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 23 Nov 2010 21:35:41 +0000 (21:35 +0000)
glretrace.py

index 01ba994..8ab6b75 100644 (file)
@@ -189,6 +189,9 @@ static void display(void) {
             case GL_OUT_OF_MEMORY:
                std::cerr << "GL_OUT_OF_MEMORY";
                break;
+            case GL_INVALID_FRAMEBUFFER_OPERATION:
+               std::cerr << "GL_INVALID_FRAMEBUFFER_OPERATION";
+               break;
             case GL_TABLE_TOO_LARGE:
                std::cerr << "GL_TABLE_TOO_LARGE";
                break;