GPU: Fix additional GL_POP() causing validation errors

This commit is contained in:
Stenzek 2024-12-06 14:51:57 +10:00
parent 3670c131e3
commit 6d080c1a3f
No known key found for this signature in database
2 changed files with 1 additions and 2 deletions

View File

@ -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();

View File

@ -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;
} }