Using stricter GLSL typing to please some compilers

This was SVN commit r12552.
This commit is contained in:
myconid 2012-08-30 00:29:10 +00:00
parent 38c1a4c4a1
commit 2850476389

View File

@ -19,7 +19,8 @@ void main()
{
#if MINIMAP_BASE || MINIMAP_LOS
gl_Position = gl_ModelViewProjectionMatrix * vec4(a_vertex, 1.0);
v_tex = gl_TextureMatrix[0] * gl_MultiTexCoord0;
vec4 temp = gl_TextureMatrix[0] * gl_MultiTexCoord0;
v_tex = temp.xy;
#endif
#if MINIMAP_POINT