diff --git a/neuropsydia/screen.py b/neuropsydia/screen.py index 57d98cf..8eed143 100644 --- a/neuropsydia/screen.py +++ b/neuropsydia/screen.py @@ -4,13 +4,12 @@ """ import pygame import ctypes -import windll from .path import * # Change "neuropsydia.screen" to "__main__" When building API documentation. This is to avoid sphinx to run this code, otherwise the documentations fails to be built. "neuropsydia.screen" to make it work. if __name__ == "neuropsydia.screen": - + yes = ctypes.windll.user32.SetProcessDPIAware() resolution = (ctypes.windll.user32.GetSystemMetrics(0), ctypes.windll.user32.GetSystemMetrics(1))