|
@@ -20241,7 +20241,7 @@ _SOKOL_PRIVATE sg_desc _sg_desc_defaults(const sg_desc* desc) {
|
|
|
_SOKOL_PRIVATE sg_pass _sg_pass_defaults(const sg_pass* pass) {
|
|
|
sg_pass res = *pass;
|
|
|
if (!res.compute) {
|
|
|
- if (res.compute && res.attachments.id == SG_INVALID_ID) {
|
|
|
+ if (res.attachments.id == SG_INVALID_ID) {
|
|
|
// this is a swapchain-pass
|
|
|
res.swapchain.sample_count = _sg_def(res.swapchain.sample_count, _sg.desc.environment.defaults.sample_count);
|
|
|
res.swapchain.color_format = _sg_def(res.swapchain.color_format, _sg.desc.environment.defaults.color_format);
|