1 parent ecb9908 commit 213d138Copy full SHA for 213d138
1 file changed
examples/common/ui.cc
@@ -151,11 +151,11 @@ bool ui_input(const sapp_event* event) {
151
ui_texture_t ui_create_texture(int w, int h) {
152
return simgui_imtextureid_with_sampler(
153
sg_make_image({
154
- .width = w,
155
- .height = h,
156
.usage = {
157
.stream_update = true,
158
},
+ .width = w,
+ .height = h,
159
.pixel_format = SG_PIXELFORMAT_RGBA8,
160
}),
161
state.nearest_sampler);
0 commit comments