summaryrefslogtreecommitdiff
path: root/tests/shaders
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-11-13 00:16:28 -0800
committerVinson Lee <vlee@vmware.com>2009-11-13 00:16:28 -0800
commit82d17fae33b446da9b78b9a06b42145c262f86a4 (patch)
treecf0f59e6989e2274e4b6f5ab02f447af195bdfe2 /tests/shaders
parent26962c0b98d79af399a3d6b95fb6c18ea95423ac (diff)
glsl-lod-bias: Add component accessor to vertex shader.
Fixes GLSL compilation error on Mac OS.
Diffstat (limited to 'tests/shaders')
-rw-r--r--tests/shaders/glsl-lod-bias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/glsl-lod-bias.c b/tests/shaders/glsl-lod-bias.c
index 2d06342ef..ed07322b8 100644
--- a/tests/shaders/glsl-lod-bias.c
+++ b/tests/shaders/glsl-lod-bias.c
@@ -59,7 +59,7 @@ static const char *vertShaderText =
"void main()\n"
"{ \n"
" gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;\n"
- " texCoords = gl_MultiTexCoord0;\n"
+ " texCoords = gl_MultiTexCoord0.st;\n"
"} \n";
static const char *fragShaderText =