gallium: fix more statetrackers/drivers for not using texture width/height/depth...
[mesa.git] / src / gallium / state_trackers / vega / vg_tracker.c
index c4da01e52ccbb07c721b36acd1417557406a89f5..d28463dd1b89973262d5a0513e45c5de748ba382 100644 (file)
@@ -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)) {