mirror of
https://github.com/tiennm99/godot.git
synced 2026-07-27 08:20:10 +00:00
8 lines
128 B
C++
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;
|
|
}
|