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);
|
glBlendColor(0, 0, 0, 0);
|
||||||
|
glViewport(0, 0, currentFramebuffer->GetWidth(), currentFramebuffer->GetHeight());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue