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/gallium/auxiliary/util/u_surface.c | |
parent | 6b480dc21dd489d48685b2268e495218aea74293 (diff) |
gallium: don't use arrays for texture width,height,depth
Diffstat (limited to 'src/gallium/auxiliary/util/u_surface.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_surface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/util/u_surface.c b/src/gallium/auxiliary/util/u_surface.c index 85e443204e3..de8c266db83 100644 --- a/src/gallium/auxiliary/util/u_surface.c +++ b/src/gallium/auxiliary/util/u_surface.c @@ -79,9 +79,9 @@ util_create_rgba_surface(struct pipe_screen *screen, templ.target = target; templ.format = format; templ.last_level = 0; - templ.width[0] = width; - templ.height[0] = height; - templ.depth[0] = 1; + templ.width0 = width; + templ.height0 = height; + templ.depth0 = 1; pf_get_block(format, &templ.block); templ.tex_usage = usage; |