Skip to content

Commit ecb9908

Browse files
committed
fix linx/window ci
1 parent 557b082 commit ecb9908

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

examples/common/ui.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@ ui_texture_t ui_create_texture(int w, int h) {
153153
sg_make_image({
154154
.width = w,
155155
.height = h,
156-
.usage.stream_update = true,
156+
.usage = {
157+
.stream_update = true,
158+
},
157159
.pixel_format = SG_PIXELFORMAT_RGBA8,
158160
}),
159161
state.nearest_sampler);

0 commit comments

Comments
 (0)