Changeset View
Changeset View
Standalone View
Standalone View
source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.cpp
Show First 20 Lines • Show All 570 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
#ifdef __WXGTK__ | #ifdef __WXGTK__ | ||||
// TODO: wxSafeYield causes issues on wxOSX 2.9, is it necessary? | // TODO: wxSafeYield causes issues on wxOSX 2.9, is it necessary? | ||||
wxSafeYield(); | wxSafeYield(); | ||||
#endif | #endif | ||||
// Send setup messages to game engine: | // Send setup messages to game engine: | ||||
POST_MESSAGE(InitSDL, ()); | |||||
wraitii: I would put the calls directly there though, not in GameLoop.cpp | |||||
POST_MESSAGE(SetCanvas, (static_cast<wxGLCanvas*>(canvas), | POST_MESSAGE(SetCanvas, (static_cast<wxGLCanvas*>(canvas), | ||||
canvas->GetClientSize().GetWidth(), canvas->GetClientSize().GetHeight())); | canvas->GetClientSize().GetWidth(), canvas->GetClientSize().GetHeight())); | ||||
POST_MESSAGE(InitGraphics, ()); | POST_MESSAGE(InitGraphics, ()); | ||||
canvas->InitSize(); | canvas->InitSize(); | ||||
▲ Show 20 Lines • Show All 554 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
I would put the calls directly there though, not in GameLoop.cpp