Skip to content

Commit

Permalink
TextureCache: Remove redundant floor().
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Aug 15, 2015
1 parent b01ca17 commit 7e266b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoBackends/OGL/TextureCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7e266b0

Please sign in to comment.