st/mesa: flush the glBitmap cache before changing framebuffer state
[mesa.git] / src / mesa / state_tracker / st_cb_bufferobjects.c
index 6534a4347ab230494de395405652e9ea6a74acd7..b47a2d87f74619bdd2f34c8fa56d2f680910bf44 100644 (file)
@@ -195,6 +195,9 @@ st_bufferobj_data(struct gl_context *ctx,
    case GL_ELEMENT_ARRAY_BUFFER_ARB:
       bind = PIPE_BIND_INDEX_BUFFER;
       break;
+   case GL_TRANSFORM_FEEDBACK_BUFFER:
+      bind = PIPE_BIND_STREAM_OUTPUT;
+      break;
    default:
       bind = 0;
    }