YaLTeR / BunnymodXT

Speedrun and TAS tool for Half-Life & friends.
Other
200 stars 38 forks source link

optimization: triangle_drawing: don't call GetTrigger(Color/Alpha) functions more than once #536

Closed SmileyAG closed 2 months ago

SmileyAG commented 2 months ago

It is simply pointless to obtain this information more than once and it cost in performance too.

YaLTeR commented 2 months ago

Thanks, must've missed it when it was added.