diff options
| author | Jules Blok <jules.blok@gmail.com> | 2014-10-30 23:29:56 +0100 |
|---|---|---|
| committer | Jules Blok <jules.blok@gmail.com> | 2014-11-23 14:27:38 +0100 |
| commit | 9b22e151803ccfb757eb9319f1b32e3d1999f42e (patch) | |
| tree | a4ca5f293bb1b89104d26327f0aa9bbe8eb737e8 /Source/Core/VideoBackends/OGL/TextureCache.cpp | |
| parent | 4d9589b35f2629c558a9a7efdee3d66497fc0fc6 (diff) | |
VideoConfigDiag: Add stereoscopy options group.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/TextureCache.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/TextureCache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/OGL/TextureCache.cpp b/Source/Core/VideoBackends/OGL/TextureCache.cpp index 89de707280..f58a71fc92 100644 --- a/Source/Core/VideoBackends/OGL/TextureCache.cpp +++ b/Source/Core/VideoBackends/OGL/TextureCache.cpp @@ -364,7 +364,7 @@ TextureCache::TextureCache() " ocol0 = texcol * mat4(colmat[0], colmat[1], colmat[2], colmat[3]) + colmat[4];\n" "}\n"; - const char *VProgram = (g_ActiveConfig.bStereo) ? + const char *VProgram = (g_ActiveConfig.iStereoMode > 0) ? "out vec2 v_uv0;\n" "SAMPLER_BINDING(9) uniform sampler2DArray samp9;\n" "uniform vec4 copy_position;\n" // left, top, right, bottom @@ -385,7 +385,7 @@ TextureCache::TextureCache() " gl_Position = vec4(rawpos*2.0-1.0, 0.0, 1.0);\n" "}\n"; - const char *GProgram = (g_ActiveConfig.bStereo) ? + const char *GProgram = (g_ActiveConfig.iStereoMode > 0) ? "layout(triangles) in;\n" "layout(triangle_strip, max_vertices = 6) out;\n" "in vec2 v_uv0[];\n" |
