9b1f8230ec
-Implemented HiDPI detection and support for Godot Editor!
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;
|
|
}
|