dm 7 years ago
parent
commit
75aea1f49c
1 changed files with 6 additions and 1 deletions
  1. 6 1
      oxygine/src/oxygine/core/oxygine.cpp

+ 6 - 1
oxygine/src/oxygine/core/oxygine.cpp

@@ -451,7 +451,8 @@ namespace oxygine
             TextField::setDefaultFont(DebugActor::resSystem->getResFont("system"));
             TextField::setDefaultFont(DebugActor::resSystem->getResFont("system"));
 #endif
 #endif
 #endif
 #endif
-            logs::messageln("oxygine initialized");
+            Point ds = getDisplaySize();
+            logs::messageln("oxygine initialized, drawable size: %d %d", ds.x, ds.y);
         }
         }
 
 
 #if OXYGINE_SDL
 #if OXYGINE_SDL
@@ -753,6 +754,10 @@ namespace oxygine
 #ifndef OXYGINE_EDITOR
 #ifndef OXYGINE_EDITOR
             key::update();
             key::update();
 #endif
 #endif
+            
+            Point ds = getDisplaySize();
+            logs::messageln("SDL_GL_GetDrawableSize: %d %d", ds.x, ds.y);
+
             timeMS duration = IVideoDriver::_stats.duration;
             timeMS duration = IVideoDriver::_stats.duration;
             IVideoDriver::_stats = IVideoDriver::Stats();
             IVideoDriver::_stats = IVideoDriver::Stats();
             IVideoDriver::_stats.duration = duration;
             IVideoDriver::_stats.duration = duration;