summaryrefslogtreecommitdiff
path: root/src/qcam/assets
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcam/assets')
-rw-r--r--src/qcam/assets/shader/identity.vert4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qcam/assets/shader/identity.vert b/src/qcam/assets/shader/identity.vert
index 6d6f7551..12c41377 100644
--- a/src/qcam/assets/shader/identity.vert
+++ b/src/qcam/assets/shader/identity.vert
@@ -9,8 +9,10 @@ attribute vec4 vertexIn;
attribute vec2 textureIn;
varying vec2 textureOut;
+uniform float stride_factor;
+
void main(void)
{
gl_Position = vertexIn;
- textureOut = textureIn;
+ textureOut = vec2(textureIn.x * stride_factor, textureIn.y);
}