diff options
Diffstat (limited to '')
-rw-r--r-- | src/menu/application.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/menu/application.cpp b/src/menu/application.cpp index 7e6c9216..30151169 100644 --- a/src/menu/application.cpp +++ b/src/menu/application.cpp @@ -75,9 +75,8 @@ namespace usdx SDL_Event event; EventManager event_manager; boost::thread event_thread(boost::bind(&EventManager::handle_events, &event_manager)); - DrawableControl *p = new SoftwareMousePointer(this, &event_manager); - p->repaint(); + SoftwareMousePointer pointer(this, &event_manager); LoadingFrame frame(this); running = true; |