mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-16 20:31:20 +00:00
OpenGL: Reset viewport to FB size at each subpass
This commit is contained in:
parent
a214b7f12d
commit
1b6f7535aa
@ -273,6 +273,7 @@ namespace opengl {
|
||||
}
|
||||
|
||||
glBlendColor(0, 0, 0, 0);
|
||||
glViewport(0, 0, currentFramebuffer->GetWidth(), currentFramebuffer->GetHeight());
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user