TextureCache: Remove redundant floor().

This commit is contained in:
Jules Blok 2015-08-15 15:30:50 +02:00
parent b01ca1794a
commit 7e266b080f

View File

@ -362,7 +362,7 @@ void TextureCache::CompileShaders()
"\n"
"void main(){\n"
" vec4 texcol = texture(samp9, vec3(f_uv0.xy, %s));\n"
" int depth = int(floor(texcol.x * 16777216.0));\n"
" int depth = int(texcol.x * 16777216.0);\n"
// Convert to Z24 format
" ivec4 workspace;\n"