Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 890 vs 895 for /trunk/Source Code/GUI/GUIInterface.cpp

Diff revisions: vs.
  @@ -11,7 +11,7 @@
11 11
12 12 #include "Scenes/Headers/Scene.h"
13 13 #include "Core/Resources/Headers/ResourceCache.h"
14 - #include "Core/Headers/Application.h"
14 + #include "Platform/Headers/PlatformRuntime.h"
15 15
16 16 namespace Divide {
17 17
  @@ -47,7 +47,7 @@
47 47 }
48 48
49 49 void GUIInterface::addElement(U64 id, GUIElement* element) {
50 - assert(Application::instance().isMainThread());
50 + assert(Runtime::isMainThread());
51 51
52 52 U8 typeIndex = to_U8(element->getType());
53 53 GUIMap& targetMap = _guiElements[typeIndex];