diff --git a/examples/SDL3-simple-demo/main.c b/examples/SDL3-simple-demo/main.c index cec629f..de4aa3d 100644 --- a/examples/SDL3-simple-demo/main.c +++ b/examples/SDL3-simple-demo/main.c @@ -65,12 +65,9 @@ Clay_RenderCommandArray ClayImageSample_CreateLayout() { .layout = { .sizing = layoutExpand }, + .aspectRatio = { 23.0 / 42.0 }, .image = { .imageData = sample_image, - .sourceDimensions = { - .width = 23, - .height = 42 - }, } }); }