mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 15:25:54 -04:00
pgraph: Mark RenderState::unref()
as final
This will allow the compiler to devirtualize these calls
This commit is contained in:
parent
f0446a6e9c
commit
4d2a13537a
@ -112,7 +112,7 @@ PUBLISHED:
|
||||
|
||||
INLINE CPT(RenderState) get_unique() const;
|
||||
|
||||
virtual bool unref() const;
|
||||
virtual bool unref() const final;
|
||||
|
||||
INLINE void cache_ref() const;
|
||||
INLINE bool cache_unref() const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user