mirror of
https://github.com/nicbarker/clay.git
synced 2025-09-18 04:26:18 +00:00
[Renderers/SDL3] Fix up outdated API usage in SDL3 example
This commit is contained in:
parent
c524485c46
commit
13ecd80ee5
|
@ -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
|
||||
},
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue