GHOST should now be finally fixed
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 12 Dec 2012 19:20:36 +0000 (19:20 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 12 Dec 2012 19:20:36 +0000 (19:20 +0000)
intern/ghost/intern/GHOST_System.cpp

index a008d224a200003f50755199aba5ab467918d16e..41beeac6b51bce218597d1b86ce2ca7b203065b0 100644 (file)
@@ -45,7 +45,9 @@
 
 
 GHOST_System::GHOST_System()
 
 
 GHOST_System::GHOST_System()
-       : m_displayManager(0),
+       : m_nativePixel(false),
+       m_nativePixelSize(1),
+       m_displayManager(0),
        m_timerManager(0),
        m_windowManager(0),
        m_eventManager(0)
        m_timerManager(0),
        m_windowManager(0),
        m_eventManager(0)
@@ -376,7 +378,7 @@ int GHOST_System::confirmQuit(GHOST_IWindow *window) const
 
 bool GHOST_System::useNativePixel(void)
 {
 
 bool GHOST_System::useNativePixel(void)
 {
-       m_nativePixel = 1;
+       m_nativePixel = true;
        return 1;
 }
 
        return 1;
 }