aboutsummaryrefslogtreecommitdiff
path: root/demos/cube.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/cube.c')
-rw-r--r--demos/cube.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/cube.c b/demos/cube.c
index bea67ee1..df58990d 100644
--- a/demos/cube.c
+++ b/demos/cube.c
@@ -1543,7 +1543,7 @@ static void demo_prepare_descriptor_set(struct demo *demo)
view_info[i].view = demo->textures[i].view,
view_info[i].layout = VK_IMAGE_LAYOUT_GENERAL;
- combined_info[i].pSampler = demo->textures[i].sampler;
+ combined_info[i].sampler = demo->textures[i].sampler;
combined_info[i].pImageView = &view_info[i];
}