Skip to content

Commit 2e75856

Browse files
committed
Oh shit why was this not committed
1 parent b154b9f commit 2e75856

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Sources/ObjectivelyGPU/Framebuffer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ static SDL_GPUColorTargetInfo colorTargetInfoForLayer(const Framebuffer *self, U
8989
// promoted to RESOLVE_AND_STORE so the multisampled contents survive for any later
9090
// load-op pass (e.g. UI drawn over a 3D scene) while keeping the resolve current.
9191
info.resolve_texture = attachment->resolveTextures[slot]->texture;
92+
info.resolve_layer = layer;
9293
if (storeOp == SDL_GPU_STOREOP_STORE) {
9394
info.store_op = SDL_GPU_STOREOP_RESOLVE_AND_STORE;
9495
}

0 commit comments

Comments
 (0)