summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/python/p_device.i
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/python/p_device.i')
-rw-r--r--src/gallium/state_trackers/python/p_device.i6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/python/p_device.i b/src/gallium/state_trackers/python/p_device.i
index f16fe5b0ff..a83bcc71a1 100644
--- a/src/gallium/state_trackers/python/p_device.i
+++ b/src/gallium/state_trackers/python/p_device.i
@@ -113,9 +113,9 @@ struct st_device {
memset(&templat, 0, sizeof(templat));
templat.format = format;
pf_get_block(templat.format, &templat.block);
- templat.width[0] = width;
- templat.height[0] = height;
- templat.depth[0] = depth;
+ templat.width0 = width;
+ templat.height0 = height;
+ templat.depth0 = depth;
templat.last_level = last_level;
templat.target = target;
templat.tex_usage = tex_usage;