Permalink
Browse files

Added blur recomputation to Derma_DrawBackgroundBlur

  • Loading branch information...
1 parent 5bd541b commit 37c8dcd2aadb92c91efbbf2ee6e8b387e471329e @Chessnut Chessnut committed Oct 21, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 garrysmod/lua/derma/derma_utils.lua
@@ -29,6 +29,7 @@ function Derma_DrawBackgroundBlur( panel, starttime )
for i=0.33, 1, 0.33 do
matBlurScreen:SetFloat( "$blur", Fraction * 5 * i )
+ matBlurScreen:Recompute()
if ( render ) then render.UpdateScreenEffectTexture() end -- Todo: Make this available to menu Lua
surface.DrawTexturedRect( x * -1, y * -1, ScrW(), ScrH() )
end

0 comments on commit 37c8dcd

Please sign in to comment.