mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
gl: Add missing viewport save
This commit is contained in:
parent
b97557ce7b
commit
dd6cb054a7
@ -98,6 +98,9 @@ namespace gl
|
|||||||
|
|
||||||
if (!target_texture || fbo.check())
|
if (!target_texture || fbo.check())
|
||||||
{
|
{
|
||||||
|
// Save state (TODO)
|
||||||
|
glGetIntegerv(GL_VIEWPORT, viewport);
|
||||||
|
|
||||||
// Set initial state
|
// Set initial state
|
||||||
glViewport(region.x1, region.y1, region.width(), region.height());
|
glViewport(region.x1, region.y1, region.width(), region.height());
|
||||||
cmd->color_maski(0, GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
|
cmd->color_maski(0, GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
|
||||||
|
Loading…
Reference in New Issue
Block a user