mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
fix DO_PIPELINING break
This commit is contained in:
parent
d7cb1260c4
commit
047508058e
@ -41,7 +41,8 @@ PipelineCycler(Pipeline *pipeline) :
|
||||
template<class CycleDataType>
|
||||
INLINE PipelineCycler<CycleDataType>::
|
||||
PipelineCycler(const PipelineCycler<CycleDataType> ©) :
|
||||
PipelineCyclerBase(copy._data->make_copy(), copy)
|
||||
// In the DO_PIPELINING copy constructor, the pointer value is ignored.
|
||||
PipelineCyclerBase(NULL, copy)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -44,8 +44,8 @@ PipelineCyclerBase(CycleData *initial_data, Pipeline *pipeline) :
|
||||
// Description:
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE PipelineCyclerBase::
|
||||
PipelineCyclerBase(CycleData *initial_data, const PipelineCyclerBase ©) :
|
||||
_data(initial_data),
|
||||
PipelineCyclerBase(CycleData *, const PipelineCyclerBase ©) :
|
||||
_data(copy._data->make_copy()),
|
||||
_pipeline(copy._pipeline),
|
||||
_read_count(0),
|
||||
_write_count(0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user