diff --git a/rts/Rml/Backends/RmlUi_Renderer_GL3_Recoil.cpp b/rts/Rml/Backends/RmlUi_Renderer_GL3_Recoil.cpp index 9432949a26..53bb50ce22 100644 --- a/rts/Rml/Backends/RmlUi_Renderer_GL3_Recoil.cpp +++ b/rts/Rml/Backends/RmlUi_Renderer_GL3_Recoil.cpp @@ -798,6 +798,8 @@ void RenderInterface_GL3_Recoil::EndFrame() render_layers.EndFrame(); + UseProgram(ProgramId::None); + // Restore GL state. if (glstate_backup.enable_cull_face) glEnable(GL_CULL_FACE);