Permalink
Browse files

Fixed bug with ToyTown

The say the bottom part was drawn caused a weird line to appear in the
middle of the screen.
  • Loading branch information...
1 parent 064effc commit 340b62fe9a9d642f69aec77c6532d7429321f1a9 @vercas vercas committed Feb 4, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 garrysmod/lua/postprocess/toytown.lua
@@ -20,7 +20,7 @@ function DrawToyTown( NumPasses, H )
render.UpdateScreenEffectTexture()
surface.DrawTexturedRect( 0, 0, ScrW(), H )
- surface.DrawTexturedRectRotated( ScrW() * 0.5, ScrH() - H * 0.5 + 1, ScrW(), H, 180 )
+ surface.DrawTexturedRectUV(0, ScrH() - H, ScrW(), H, 0, 1, 1, 0)
end

0 comments on commit 340b62f

Please sign in to comment.