gallium: create renderbuffer surface w/out CPU_READ/WRITE flags
authorMichal Danzer <michel@tungstengraphics.com>
Tue, 6 May 2008 18:35:25 +0000 (12:35 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 6 May 2008 19:48:27 +0000 (13:48 -0600)
src/mesa/state_tracker/st_cb_fbo.c

index 1fa82b07e68322944cdcf99fc8d7173f300db723..e0578f0b4d7354929f77d51980b9fb4413bea1ea 100644 (file)
@@ -385,8 +385,6 @@ st_render_texture(GLcontext *ctx,
                                            att->CubeMapFace,
                                            att->TextureLevel,
                                            att->Zoffset,
-                                           PIPE_BUFFER_USAGE_CPU_READ |
-                                           PIPE_BUFFER_USAGE_CPU_WRITE |
                                            PIPE_BUFFER_USAGE_GPU_READ |
                                            PIPE_BUFFER_USAGE_GPU_WRITE);
    assert(strb->surface);