Skip to content

Commit e6815de

Browse files
committed
Fixed incorrect log messages and binding check
1 parent 6f27b6e commit e6815de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/OpenXRApi.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void OpenXRApi::openxr_release_api() {
7373
// decrease use count
7474
singleton->use_count--;
7575

76-
Godot::print("OpenXR: decreased use count to %i", singleton->use_count);
76+
Godot::print("OpenXR: decreased use count to {0}", singleton->use_count);
7777
} else {
7878
// cleanup openxr
7979
Godot::print("OpenXR releasing OpenXR context");
@@ -87,7 +87,7 @@ OpenXRApi *OpenXRApi::openxr_get_api() {
8787
if (singleton != NULL) {
8888
// increase use count
8989
singleton->use_count++;
90-
Godot::print("OpenXR increased use count to %i", singleton->use_count);
90+
Godot::print("OpenXR increased use count to {0}", singleton->use_count);
9191
} else {
9292
// init openxr
9393
Godot::print("OpenXR initialising OpenXR context");
@@ -774,7 +774,7 @@ OpenXRApi::OpenXRApi() {
774774
}
775775

776776
actions[MENU_ACTION_INDEX] = createAction(XR_ACTION_TYPE_BOOLEAN_INPUT, "menu", "Menu Button");
777-
if (actions[GRAB_ACTION_INDEX] == NULL) {
777+
if (actions[MENU_ACTION_INDEX] == NULL) {
778778
return;
779779
}
780780

0 commit comments

Comments
 (0)