Skip to content

Commit

Permalink
fix gles3 (cocos#17300)
Browse files Browse the repository at this point in the history
  • Loading branch information
star-e authored Jul 4, 2024
1 parent bc30243 commit 8db3572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/cocos/renderer/gfx-gles3/GLES3Commands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1846,7 +1846,7 @@ void cmdFuncGLES3BeginRenderPass(GLES3Device *device, GLES3GPURenderPass *gpuRen
if (gpuFramebuffer->resolveFramebuffer.isActive()) {
device->context()->makeCurrent(resolveFramebuffer.swapchain, framebuffer.swapchain);
} else {
device->context()->makeCurrent(framebuffer.swapchain);
device->context()->makeCurrent(framebuffer.swapchain, framebuffer.swapchain);
}

const auto fbHandle = framebuffer.getHandle();
Expand Down

0 comments on commit 8db3572

Please sign in to comment.