From c63ae0f5dfa50c31e811adf0ce7fbf108330937a Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 31 Aug 2012 10:06:54 +0300 Subject: [PATCH] Fix a type mismatch in the standard shader source --- source/programbuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/programbuilder.cpp b/source/programbuilder.cpp index 05e801c7..a24b5d56 100644 --- a/source/programbuilder.cpp +++ b/source/programbuilder.cpp @@ -81,7 +81,7 @@ const ProgramBuilder::StandardVariable ProgramBuilder::standard_variables[] = { VERTEX, "eye_binormal", "vec3", "gl_NormalMatrix*binormal", "!r" }, { VERTEX, "eye_binormal", "vec3", "transform_normal(binormal)", "r" }, { VERTEX, "color", "vec4", "gl_Color", 0 }, - { VERTEX, "texture_coord", "vec2", "gl_MultiTexCoord0", 0 }, + { VERTEX, "texture_coord", "vec2", "gl_MultiTexCoord0.xy", 0 }, { ATTRIBUTE, "tangent", "vec3", 0, 0 }, { ATTRIBUTE, "binormal", "vec3", 0, 0 }, -- 2.45.2