diff options
Diffstat (limited to 'src/menu')
-rw-r--r-- | src/menu/application.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/menu/application.cpp b/src/menu/application.cpp index 45f7af0e..d0cb9926 100644 --- a/src/menu/application.cpp +++ b/src/menu/application.cpp @@ -41,9 +41,10 @@ namespace usdx : Container(parent), config(NULL), display(NULL), fps_manager(NULL), running(false), frames_per_second(50) { - set_size(800, 600); log4cpp::PropertyConfigurator::configure("log4cpp.property"); config = new Config(); + + set_size(config->get_graphics_resolution()); SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO); } |