From: Mikko Rasa Date: Fri, 31 Aug 2012 07:06:54 +0000 (+0300) Subject: Fix a type mismatch in the standard shader source X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=c63ae0f5dfa50c31e811adf0ce7fbf108330937a Fix a type mismatch in the standard shader source --- 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 },