Skip to content

Commit

Permalink
GPU: Fix additional GL_POP() causing validation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Dec 6, 2024
1 parent 3670c13 commit 6d080c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/gpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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->SetViewportAndScissor(0, 0, width, height);
g_gpu_device->Draw(3, 0);

GL_POP();
}

dst->MakeReadyForSampling();
Expand Down
1 change: 1 addition & 0 deletions src/core/gpu_hw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4080,6 +4080,7 @@ void GPU_HW::DownsampleFramebufferAdaptive(GPUTexture* source, u32 left, u32 top
if (!m_downsample_texture || !level_texture || !weight_texture)
{
ERROR_LOG("Failed to create {}x{} RTs for adaptive downsampling", width, height);
GL_POP();
return;
}

Expand Down

0 comments on commit 6d080c1

Please sign in to comment.