mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
pipeline: CycleData should always inherit from MemoryBase
We need to guarantee that CData classes are aligned properly, even if DO_PIPELINING is not enabled.
This commit is contained in:
parent
8d3576607e
commit
63484c83cb
@ -44,7 +44,7 @@ class EXPCL_PANDA_PIPELINE CycleData : public NodeReferenceCount
|
||||
// If we are *not* compiling in pipelining support, the CycleData object is
|
||||
// stored directly within its containing classes, and hence should not be a
|
||||
// ReferenceCount object.
|
||||
class EXPCL_PANDA_PIPELINE CycleData
|
||||
class EXPCL_PANDA_PIPELINE CycleData : public MemoryBase
|
||||
|
||||
#endif // DO_PIPELINING
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user