Squashed commit of the following:
[mesa.git] / src / mesa / state_tracker / st_cb_blit.c
index 06b0a18fd221786ec202dd3da9f0711ee013c314..0498080ccfc5ff3adf47e6405ecda1ee29806876 100644 (file)
@@ -128,7 +128,7 @@ st_BlitFramebuffer(GLcontext *ctx,
                                            srcAtt->CubeMapFace,
                                            srcAtt->TextureLevel,
                                            srcAtt->Zoffset,
-                                           PIPE_BUFFER_USAGE_GPU_READ);
+                                           PIPE_BIND_BLIT_SOURCE);
          if(!srcSurf)
             return;