Skip to content

Commit

Permalink
dont finalize gpu on fullupdate (#3272)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrawWagen authored Feb 26, 2025
1 parent 3c4b5fd commit 6c128bf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lua/entities/gmod_wire_textscreen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,10 @@ if CLIENT then
WireLib.netRegister(self)
end

function ENT:OnRemove()
self.GPU:Finalize()
function ENT:OnRemove( fullUpdate )
self.NeedRefresh = true
if fullUpdate then return end
self.GPU:Finalize()
end
function ENT:Draw()
self:DrawModel()
Expand Down

0 comments on commit 6c128bf

Please sign in to comment.