summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoOGL
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2011-12-08 03:20:31 -0600
committerRyan Houdek <Sonicadvance1@gmail.com>2011-12-08 03:20:31 -0600
commitcecc3c3873c6aaabea514b3a5eff380e5a32856f (patch)
tree30b8de4c172ee25353e188e0e238d49d28ea67f8 /Source/Plugins/Plugin_VideoOGL
parent1201988fe4e94720f32f2165ee03d5debf957cd7 (diff)
Bit of cleanup. Clean up my massive hack in the ShaderManagerFiles. Almost feature parity with Nvidia CG now I think. Just need to do Alpha test with Dual source blending now.
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL')
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp b/Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp
index 5ee839676c..f4f9a46e72 100644
--- a/Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp
+++ b/Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp
@@ -80,10 +80,11 @@ void PixelShaderCache::Init()
pCompilePixelShader = CompileGLSLPixelShader;
// Should this be set here?
if (strstr((const char*)glGetString(GL_EXTENSIONS), "GL_ARB_shading_language_420pack") != NULL)
- g_ActiveConfig.backend_info.bSupportsGLSLBinding = true;
+ g_Config.backend_info.bSupportsGLSLBinding = true;
// This bit doesn't quite work yet, always set to false
//if (strstr((const char*)glGetString(GL_EXTENSIONS), "GL_ARB_separate_shader_objects") != NULL)
- g_ActiveConfig.backend_info.bSupportsGLSLLocation = false;
+ g_Config.backend_info.bSupportsGLSLLocation = false;
+ UpdateActiveConfig();
}
else
{