gallium: don't use arrays for texture width,height,depth

This commit is contained in:
Keith Whitwell
2009-11-19 14:39:34 -08:00
parent 6b480dc21d
commit 683e35f726
24 changed files with 226 additions and 221 deletions

View File

@@ -243,7 +243,7 @@ st_fast_readpixels(GLcontext *ctx, struct st_renderbuffer *strb,
GLint row, col, dy, dstStride;
if (st_fb_orientation(ctx->ReadBuffer) == Y_0_TOP) {
y = strb->texture->height[0] - y - height;
y = strb->texture->height0 - y - height;
}
trans = st_cond_flush_get_tex_transfer(st_context(ctx), strb->texture,