Add and require GDSOFTCLASS for Object subclasses that want to cast but do not use GDCLASS.

This commit is contained in:
Lukas Tenbrink
2025-03-31 15:18:06 +02:00
parent e585e6a3eb
commit fa0a3c9c6e
16 changed files with 98 additions and 69 deletions

View File

@ -38,7 +38,7 @@ class RenderingDevice;
#endif
class DisplayServerAndroid : public DisplayServer {
// No need to register with GDCLASS, it's platform-specific and nothing is added.
GDSOFTCLASS(DisplayServerAndroid, DisplayServer);
String rendering_driver;