diff options
author | Keith Whitwell <[email protected]> | 2009-11-19 14:39:34 -0800 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-11-19 14:39:34 -0800 |
commit | 683e35f726a182ed9fc6b6d5cb07146eebe14dea (patch) | |
tree | 780634a0c67cd6fa8a6adb8daf01be86064a2d37 /src/mesa/state_tracker/st_atom_pixeltransfer.c | |
parent | 6b480dc21dd489d48685b2268e495218aea74293 (diff) |
gallium: don't use arrays for texture width,height,depth
Diffstat (limited to 'src/mesa/state_tracker/st_atom_pixeltransfer.c')
-rw-r--r-- | src/mesa/state_tracker/st_atom_pixeltransfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_pixeltransfer.c b/src/mesa/state_tracker/st_atom_pixeltransfer.c index babfcc87b4a..4b35f59cc2f 100644 --- a/src/mesa/state_tracker/st_atom_pixeltransfer.c +++ b/src/mesa/state_tracker/st_atom_pixeltransfer.c @@ -145,7 +145,7 @@ load_color_map_texture(GLcontext *ctx, struct pipe_texture *pt) const GLuint gSize = ctx->PixelMaps.GtoG.Size; const GLuint bSize = ctx->PixelMaps.BtoB.Size; const GLuint aSize = ctx->PixelMaps.AtoA.Size; - const uint texSize = pt->width[0]; + const uint texSize = pt->width0; uint *dest; uint i, j; |