mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -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
|
// If we are *not* compiling in pipelining support, the CycleData object is
|
||||||
// stored directly within its containing classes, and hence should not be a
|
// stored directly within its containing classes, and hence should not be a
|
||||||
// ReferenceCount object.
|
// ReferenceCount object.
|
||||||
class EXPCL_PANDA_PIPELINE CycleData
|
class EXPCL_PANDA_PIPELINE CycleData : public MemoryBase
|
||||||
|
|
||||||
#endif // DO_PIPELINING
|
#endif // DO_PIPELINING
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user