diff options
author | Roland Scheidegger <[email protected]> | 2009-11-26 22:49:58 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2009-11-26 22:51:45 +0100 |
commit | d509f84543d0979e9bb53c20c195f378dd61e728 (patch) | |
tree | 1f5d3fac9862714c898b3f4f58974bff8699a382 /src/gallium/state_trackers/vega/vg_tracker.c | |
parent | 683e35f726a182ed9fc6b6d5cb07146eebe14dea (diff) |
gallium: fix more statetrackers/drivers for not using texture width/height/depth arrays
Diffstat (limited to 'src/gallium/state_trackers/vega/vg_tracker.c')
-rw-r--r-- | src/gallium/state_trackers/vega/vg_tracker.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/vega/vg_tracker.c b/src/gallium/state_trackers/vega/vg_tracker.c index c4da01e52cc..d28463dd1b8 100644 --- a/src/gallium/state_trackers/vega/vg_tracker.c +++ b/src/gallium/state_trackers/vega/vg_tracker.c @@ -51,9 +51,9 @@ create_texture(struct pipe_context *pipe, enum pipe_format format, templ.target = PIPE_TEXTURE_2D; pf_get_block(templ.format, &templ.block); - templ.width[0] = width; - templ.height[0] = height; - templ.depth[0] = 1; + templ.width0 = width; + templ.height0 = height; + templ.depth0 = 1; templ.last_level = 0; if (pf_get_component_bits(format, PIPE_FORMAT_COMP_S)) { |