summaryrefslogtreecommitdiff
path: root/modules/gdnative/nativearvr/arvr_interface_gdnative.h
diff options
context:
space:
mode:
authorThomas Herzog <thomas.herzog@mail.com>2017-10-14 19:29:55 +0200
committerGitHub <noreply@github.com>2017-10-14 19:29:55 +0200
commitad44b3d52233f6110970ab0cd6202484f2a12280 (patch)
tree852a249eaf60c176910a47ddd86660ac378287ba /modules/gdnative/nativearvr/arvr_interface_gdnative.h
parent9862dcd0cb29ddd4900d6fe7eea862644ed37bbe (diff)
parente0019453a227036660e90f67e8df8207fcb48b46 (diff)
Merge pull request #12093 from karroffel/gdnative-fixups
fixes to GDNative and ARVRInterfaceGDNative
Diffstat (limited to 'modules/gdnative/nativearvr/arvr_interface_gdnative.h')
-rw-r--r--modules/gdnative/nativearvr/arvr_interface_gdnative.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gdnative/nativearvr/arvr_interface_gdnative.h b/modules/gdnative/nativearvr/arvr_interface_gdnative.h
index 6995e85c73..04730571b7 100644
--- a/modules/gdnative/nativearvr/arvr_interface_gdnative.h
+++ b/modules/gdnative/nativearvr/arvr_interface_gdnative.h
@@ -41,12 +41,12 @@
*/
class ARVRInterfaceGDNative : public ARVRInterface {
- GDCLASS(ARVRInterfaceGDNative, ARVRInterface);
+ GDCLASS(ARVRInterfaceGDNative, ARVRInterface)
void cleanup();
protected:
- Ref<GDNative> library;
+ godot_arvr_interface_gdnative *interface;
void *data;
static void _bind_methods();
@@ -56,7 +56,7 @@ public:
ARVRInterfaceGDNative();
~ARVRInterfaceGDNative();
- void set_gdnative_library(Ref<GDNativeLibrary> p_library);
+ void set_interface(StringName p_name);
virtual StringName get_name() const;
virtual int get_capabilities() const;