summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--platform/android/display_server_android.h2
-rw-r--r--platform/ios/display_server_ios.h2
-rw-r--r--platform/linuxbsd/x11/display_server_x11.h3
-rw-r--r--platform/macos/display_server_macos.h2
-rw-r--r--platform/web/display_server_web.h2
-rw-r--r--platform/windows/display_server_windows.h3
6 files changed, 8 insertions, 6 deletions
diff --git a/platform/android/display_server_android.h b/platform/android/display_server_android.h
index b2400d81dc..ad1cbddb08 100644
--- a/platform/android/display_server_android.h
+++ b/platform/android/display_server_android.h
@@ -39,6 +39,8 @@ class RenderingDeviceVulkan;
#endif
class DisplayServerAndroid : public DisplayServer {
+ // No need to register with GDCLASS, it's platform-specific and nothing is added.
+
String rendering_driver;
// https://developer.android.com/reference/android/view/PointerIcon
diff --git a/platform/ios/display_server_ios.h b/platform/ios/display_server_ios.h
index 6eaa7c8edc..57f601a858 100644
--- a/platform/ios/display_server_ios.h
+++ b/platform/ios/display_server_ios.h
@@ -55,7 +55,7 @@
#import <QuartzCore/CAMetalLayer.h>
class DisplayServerIOS : public DisplayServer {
- GDCLASS(DisplayServerIOS, DisplayServer)
+ // No need to register with GDCLASS, it's platform-specific and nothing is added.
_THREAD_SAFE_CLASS_
diff --git a/platform/linuxbsd/x11/display_server_x11.h b/platform/linuxbsd/x11/display_server_x11.h
index e8e0680c14..67fa21c75f 100644
--- a/platform/linuxbsd/x11/display_server_x11.h
+++ b/platform/linuxbsd/x11/display_server_x11.h
@@ -119,8 +119,7 @@ typedef struct _xrr_monitor_info {
#undef CursorShape
class DisplayServerX11 : public DisplayServer {
- //No need to register, it's platform-specific and nothing is added
- //GDCLASS(DisplayServerX11, DisplayServer)
+ // No need to register with GDCLASS, it's platform-specific and nothing is added.
_THREAD_SAFE_CLASS_
diff --git a/platform/macos/display_server_macos.h b/platform/macos/display_server_macos.h
index a71ac3a310..a1cd83280d 100644
--- a/platform/macos/display_server_macos.h
+++ b/platform/macos/display_server_macos.h
@@ -56,7 +56,7 @@
#undef CursorShape
class DisplayServerMacOS : public DisplayServer {
- GDCLASS(DisplayServerMacOS, DisplayServer)
+ // No need to register with GDCLASS, it's platform-specific and nothing is added.
_THREAD_SAFE_CLASS_
diff --git a/platform/web/display_server_web.h b/platform/web/display_server_web.h
index 2e50a6bbc8..a72977e3c3 100644
--- a/platform/web/display_server_web.h
+++ b/platform/web/display_server_web.h
@@ -37,6 +37,8 @@
#include <emscripten/html5.h>
class DisplayServerWeb : public DisplayServer {
+ // No need to register with GDCLASS, it's platform-specific and nothing is added.
+
private:
struct JSTouchEvent {
uint32_t identifier[32] = { 0 };
diff --git a/platform/windows/display_server_windows.h b/platform/windows/display_server_windows.h
index 80c75c63b5..a8dcc6bad0 100644
--- a/platform/windows/display_server_windows.h
+++ b/platform/windows/display_server_windows.h
@@ -280,8 +280,7 @@ typedef struct {
} ICONDIR, *LPICONDIR;
class DisplayServerWindows : public DisplayServer {
- //No need to register, it's platform-specific and nothing is added
- //GDCLASS(DisplayServerWindows, DisplayServer)
+ // No need to register with GDCLASS, it's platform-specific and nothing is added.
_THREAD_SAFE_CLASS_