[DEV] remove errors
This commit is contained in:
parent
a1d0185f19
commit
3c52398511
@ -648,12 +648,21 @@ bool ewol::Context::OS_Draw(bool _displayEveryTime) {
|
||||
m_FpsSystem.draw();
|
||||
m_FpsFlush.draw();
|
||||
}
|
||||
// while The Gui is drawing in OpenGl, we do some not realTime things
|
||||
m_resourceManager.updateContext();
|
||||
do {
|
||||
m_objectManager.removeAllRemovedObject();
|
||||
} while (m_resourceManager.checkResourceToRemove() == true);
|
||||
|
||||
{
|
||||
// set the curent interface :
|
||||
lockContext();
|
||||
// release open GL Context
|
||||
ewol::openGL::lock();
|
||||
// while The Gui is drawing in OpenGl, we do some not realTime things
|
||||
m_resourceManager.updateContext();
|
||||
// release open GL Context
|
||||
ewol::openGL::unLock();
|
||||
do {
|
||||
m_objectManager.removeAllRemovedObject();
|
||||
} while (m_resourceManager.checkResourceToRemove() == true);
|
||||
// release the curent interface :
|
||||
unLockContext();
|
||||
}
|
||||
return hasDisplayDone;
|
||||
}
|
||||
|
||||
|
@ -131,9 +131,7 @@ ewol::object::Shared<ewol::Widget> ewol::widget::ContainerN::getWidgetNamed(cons
|
||||
if (tmpUpperWidget != nullptr) {
|
||||
return tmpUpperWidget;
|
||||
}
|
||||
EWOL_ERROR("plop");
|
||||
for (auto &it : m_subWidget) {
|
||||
EWOL_ERROR("plop2");
|
||||
if (it != nullptr) {
|
||||
ewol::object::Shared<ewol::Widget> tmpWidget = it->getWidgetNamed(_widgetName);
|
||||
if (tmpWidget != nullptr) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user