diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_System.cpp')
-rw-r--r-- | intern/ghost/intern/GHOST_System.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_System.cpp b/intern/ghost/intern/GHOST_System.cpp index 8c6491bcbfd..a008d224a20 100644 --- a/intern/ghost/intern/GHOST_System.cpp +++ b/intern/ghost/intern/GHOST_System.cpp @@ -373,3 +373,16 @@ int GHOST_System::confirmQuit(GHOST_IWindow *window) const { return 1; } + +bool GHOST_System::useNativePixel(void) +{ + m_nativePixel = 1; + return 1; +} + +float GHOST_System::getNativePixelSize(void) +{ + if (m_nativePixel) + return m_nativePixelSize; + return 1.0f; +} |