From a8114b993691347e5333343cec3f07a43fc8fc68 Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Tue, 30 Apr 2019 21:47:14 +1000 Subject: Forgot a parameter in the ARVR gdnative bindings for notifications --- modules/gdnative/arvr/arvr_interface_gdnative.cpp | 2 +- modules/gdnative/include/arvr/godot_arvr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gdnative/arvr/arvr_interface_gdnative.cpp b/modules/gdnative/arvr/arvr_interface_gdnative.cpp index eac8e26160..c3f8688adb 100644 --- a/modules/gdnative/arvr/arvr_interface_gdnative.cpp +++ b/modules/gdnative/arvr/arvr_interface_gdnative.cpp @@ -227,7 +227,7 @@ void ARVRInterfaceGDNative::notification(int p_what) { // this is only available in interfaces that implement 1.1 or later if ((interface->version.major > 1) || ((interface->version.major == 1) && (interface->version.minor > 0))) { - interface->notification(p_what); + interface->notification(data, p_what); } } diff --git a/modules/gdnative/include/arvr/godot_arvr.h b/modules/gdnative/include/arvr/godot_arvr.h index 60bad27618..657090fa70 100644 --- a/modules/gdnative/include/arvr/godot_arvr.h +++ b/modules/gdnative/include/arvr/godot_arvr.h @@ -63,7 +63,7 @@ typedef struct { void (*process)(void *); // only in 1.1 onwards godot_int (*get_external_texture_for_eye)(void *, godot_int); - void (*notification)(godot_int); + void (*notification)(void *, godot_int); } godot_arvr_interface_gdnative; void GDAPI godot_arvr_register_interface(const godot_arvr_interface_gdnative *p_interface); -- cgit v1.2.3