TextureCache: Fix invalid cast.

This commit is contained in:
Jules Blok 2014-10-31 17:29:41 +01:00
parent c0a5ae1746
commit 2cb2290910

View File

@ -380,8 +380,7 @@ TextureCache::TextureCache()
"void main()\n"
"{\n"
" vec2 rawpos = vec2(gl_VertexID&1, gl_VertexID&2);\n"
" f_uv0.xy = mix(copy_position.xy, copy_position.zw, rawpos) / vec2(textureSize(samp9, 0).xy);\n"
" f_uv0.z = 0;\n"
" f_uv0 = vec3(mix(copy_position.xy, copy_position.zw, rawpos) / vec2(textureSize(samp9, 0).xy), 0.0);\n"
" gl_Position = vec4(rawpos*2.0-1.0, 0.0, 1.0);\n"
"}\n";