We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b979fc commit d2af9f4Copy full SHA for d2af9f4
samples/sample-framebuffer.c
@@ -131,6 +131,7 @@ static void init(void) {
131
.render_target = true,
132
.width = 128,
133
.height = 128,
134
+ .pixel_format = sapp_color_format(),
135
.sample_count = sapp_sample_count(),
136
};
137
fb_color_image = sg_make_image(&fb_color_image_desc);
@@ -144,6 +145,7 @@ static void init(void) {
144
145
146
147
148
149
.sample_count = 1,
150
151
fb_resolve_image = sg_make_image(&fb_resolve_image_desc);
0 commit comments