mirror of
https://github.com/wiremod/wire.git
synced 2025-03-04 03:03:04 -05:00
dont finalize gpu on fullupdate (#3272)
This commit is contained in:
parent
3c4b5fddc2
commit
6c128bf0f0
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user