mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
display: fix assertion in threaded pipeline
This commit is contained in:
parent
d093cbbb90
commit
254cea63bb
@ -441,9 +441,10 @@ is_active() const {
|
|||||||
if (cdata->_active_display_regions_stale) {
|
if (cdata->_active_display_regions_stale) {
|
||||||
CDWriter cdataw(((GraphicsOutput *)this)->_cycler, cdata, false);
|
CDWriter cdataw(((GraphicsOutput *)this)->_cycler, cdata, false);
|
||||||
((GraphicsOutput *)this)->do_determine_display_regions(cdataw);
|
((GraphicsOutput *)this)->do_determine_display_regions(cdataw);
|
||||||
|
return !cdataw->_active_display_regions.empty();
|
||||||
|
} else {
|
||||||
|
return !cdata->_active_display_regions.empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
return !cdata->_active_display_regions.empty();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user