Revert "VideoCommon: Clamp integer conversions."

This reverts commit 0f2c72f0f8.
This commit is contained in:
Jules Blok
2015-08-15 13:46:34 +02:00
parent e28fa1588f
commit b01ca1794a
3 changed files with 8 additions and 8 deletions

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 = clamp(int(texcol.x * 16777216.0), 0, 0xFFFFFF);\n"
" int depth = int(floor(texcol.x * 16777216.0));\n"
// Convert to Z24 format
" ivec4 workspace;\n"