GPU: Fix additional GL_POP() causing validation errors
This commit is contained in:
parent
3670c131e3
commit
6d080c1a3f
|
@ -2340,8 +2340,6 @@ bool GPU::DeinterlaceExtractField(u32 dst_bufidx, GPUTexture* src, u32 x, u32 y,
|
||||||
g_gpu_device->PushUniformBuffer(uniforms, sizeof(uniforms));
|
g_gpu_device->PushUniformBuffer(uniforms, sizeof(uniforms));
|
||||||
g_gpu_device->SetViewportAndScissor(0, 0, width, height);
|
g_gpu_device->SetViewportAndScissor(0, 0, width, height);
|
||||||
g_gpu_device->Draw(3, 0);
|
g_gpu_device->Draw(3, 0);
|
||||||
|
|
||||||
GL_POP();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dst->MakeReadyForSampling();
|
dst->MakeReadyForSampling();
|
||||||
|
|
|
@ -4080,6 +4080,7 @@ void GPU_HW::DownsampleFramebufferAdaptive(GPUTexture* source, u32 left, u32 top
|
||||||
if (!m_downsample_texture || !level_texture || !weight_texture)
|
if (!m_downsample_texture || !level_texture || !weight_texture)
|
||||||
{
|
{
|
||||||
ERROR_LOG("Failed to create {}x{} RTs for adaptive downsampling", width, height);
|
ERROR_LOG("Failed to create {}x{} RTs for adaptive downsampling", width, height);
|
||||||
|
GL_POP();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue