godot/tools/editor/editor_scale.cpp
Juan Linietsky 9b1f8230ec -Some fixes to OSX retina scaling for window functions
-Implemented HiDPI detection and support for Godot Editor!
2016-05-30 00:28:29 -03:00

8 lines
128 B
C++

#include "editor_scale.h"
#include "os/os.h"
bool editor_is_hidpi() {
return OS::get_singleton()->get_screen_dpi(0) > 150;
}