From eb6fabdb00f7467ad70c184f91eec98749525048 Mon Sep 17 00:00:00 2001 From: Rodolfo Osvaldo Bogado Date: Sat, 5 Jun 2010 02:15:13 +0000 Subject: [PATCH] apply Wagnard28 patch for nvidia cards texture problems git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5616 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index f178afb074..7b0e5193ec 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -591,6 +591,7 @@ void Renderer::RestoreAPIState() SetBlendMode(true); VertexShaderCache::SetCurrentShader(0); + glEnable(GL_VERTEX_PROGRAM_ARB);// needed by nvidia cards o avoid texture problems PixelShaderCache::SetCurrentShader(0); }