Skip to content

Commit

Permalink
Merge pull request #3669 from lhog/fixSpotter
Browse files Browse the repository at this point in the history
Blindly fixed gui_spotter's undisabled glPolygonOffset() call
  • Loading branch information
GoogleFrog committed Jul 26, 2019
2 parents 027f79b + 6bac157 commit 3d717ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion LuaUI/Widgets/gui_spotter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ UpdateDrawList = function()
alpha = 0.7
fadealpha = 0.4
end

--Spring.Echo("Team", team, "R G B", r, g, b, "Alphas", alpha, fadealpha)
circlePoly[team] = glCreateList(function()
-- inner:
Expand Down Expand Up @@ -229,6 +229,7 @@ function widget:DrawWorldPreUnit()
end
end
end
glPolygonOffset(false)
glColor(1,1,1,1)
end

Expand Down

0 comments on commit 3d717ec

Please sign in to comment.