1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-05 17:15:09 +00:00

[macOS] Fix running with DisplayServerHeadless.

This commit is contained in:
Pāvels Nadtočajevs
2025-03-26 20:27:11 +02:00
parent 594d64ec24
commit 5665e55f9a
5 changed files with 23 additions and 13 deletions

View File

@@ -64,7 +64,7 @@
#undef CursorShape
class DisplayServerMacOS : public DisplayServer {
// No need to register with GDCLASS, it's platform-specific and nothing is added.
GDCLASS(DisplayServerMacOS, DisplayServer); // Note: required for Object::cast_to.
_THREAD_SAFE_CLASS_