summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slideshow/opengl/basicVertexShader.glsl2
-rwxr-xr-xslideshow/opengl/vortexVertexShader.glsl2
2 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/opengl/basicVertexShader.glsl b/slideshow/opengl/basicVertexShader.glsl
index da8355465f9d..bd26c1b52115 100644
--- a/slideshow/opengl/basicVertexShader.glsl
+++ b/slideshow/opengl/basicVertexShader.glsl
@@ -32,7 +32,7 @@ varying vec2 v_texturePosition;
void main( void )
{
- gl_Position = ftransform();
+ gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
v_texturePosition = gl_MultiTexCoord0.xy;
}
diff --git a/slideshow/opengl/vortexVertexShader.glsl b/slideshow/opengl/vortexVertexShader.glsl
index 07a00f2aa534..ff86546d24c6 100755
--- a/slideshow/opengl/vortexVertexShader.glsl
+++ b/slideshow/opengl/vortexVertexShader.glsl
@@ -96,7 +96,7 @@ void main( void )
v_textureSelect = 1;
}
- gl_Position = gl_ProjectionMatrix * gl_ModelViewMatrix * v;
+ gl_Position = gl_ModelViewProjectionMatrix * v;
v_texturePosition = gl_MultiTexCoord0.xy;
}