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_cb_fbo.c | |
parent | 6b480dc21dd489d48685b2268e495218aea74293 (diff) |
gallium: don't use arrays for texture width,height,depth
Diffstat (limited to 'src/mesa/state_tracker/st_cb_fbo.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_fbo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index 65ce12ccd4f..0469fb9978a 100644 --- a/src/mesa/state_tracker/st_cb_fbo.c +++ b/src/mesa/state_tracker/st_cb_fbo.c @@ -128,9 +128,9 @@ st_renderbuffer_alloc_storage(GLcontext * ctx, struct gl_renderbuffer *rb, template.target = PIPE_TEXTURE_2D; template.format = format; pf_get_block(format, &template.block); - template.width[0] = width; - template.height[0] = height; - template.depth[0] = 1; + template.width0 = width; + template.height0 = height; + template.depth0 = 1; template.last_level = 0; template.nr_samples = rb->NumSamples; if (pf_is_depth_stencil(format)) { |