diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-12-29 06:19:46 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-12-29 06:19:46 -0600 |
| commit | df44b67e64c1993d8ba9077508e38807bfcf8cc3 (patch) | |
| tree | 73b8976d80f72ff037107350480c17e74dc151ea /Source/Core/VideoBackends/OGL/TextureCache.cpp | |
| parent | a09d8546364df7528d0d136db5067ede6bb089bc (diff) | |
| parent | da058b3078b19e3d46ff28af18a76104e56cfe59 (diff) | |
Merge pull request #1786 from Armada651/stereo-fixes
Stereo3D: Don't rely on GetEFBLayers() when dealing with shaders.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/TextureCache.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/TextureCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/TextureCache.cpp b/Source/Core/VideoBackends/OGL/TextureCache.cpp index 0adb078cd5..4199604cd0 100644 --- a/Source/Core/VideoBackends/OGL/TextureCache.cpp +++ b/Source/Core/VideoBackends/OGL/TextureCache.cpp @@ -400,7 +400,7 @@ void TextureCache::CompileShaders() " gl_Position = vec4(rawpos*2.0-1.0, 0.0, 1.0);\n" "}\n"; - const char *GProgram = FramebufferManager::GetEFBLayers() > 1 ? + const char *GProgram = g_ActiveConfig.iStereoMode > 0 ? "layout(triangles) in;\n" "layout(triangle_strip, max_vertices = 6) out;\n" "in vec3 v_uv0[3];\n" |
