gallium: create renderbuffer surface w/out CPU_READ/WRITE flags

This commit is contained in:
Michal Danzer
2008-05-06 12:35:25 -06:00
committed by Brian Paul
parent f7dbd18371
commit 973d0c014d

View 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);