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)
|
WireLib.netRegister(self)
|
||||||
end
|
end
|
||||||
|
|
||||||
function ENT:OnRemove()
|
function ENT:OnRemove( fullUpdate )
|
||||||
self.GPU:Finalize()
|
|
||||||
self.NeedRefresh = true
|
self.NeedRefresh = true
|
||||||
|
if fullUpdate then return end
|
||||||
|
self.GPU:Finalize()
|
||||||
end
|
end
|
||||||
function ENT:Draw()
|
function ENT:Draw()
|
||||||
self:DrawModel()
|
self:DrawModel()
|
||||||
|
Loading…
Reference in New Issue
Block a user