Skip to content

Commit

Permalink
Fix printing of glx context etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophHaag authored and m4gr3d committed Oct 19, 2022
1 parent d1c647f commit d1eac05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/openxr/OpenXRApi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1891,8 +1891,8 @@ bool OpenXRApi::initialiseSession() {
graphics_binding_gl.visualid = 0;
graphics_binding_gl.glxFBConfig = 0;

Godot::print("OpenXR Graphics: Display %p, Context %" PRIxPTR ", Drawable %" PRIxPTR,
graphics_binding_gl.xDisplay,
Godot::print("OpenXR Graphics: Display {0}, Context {1} Drawable {2}",
(uintptr_t)graphics_binding_gl.xDisplay,
(uintptr_t)graphics_binding_gl.glxContext,
(uintptr_t)graphics_binding_gl.glxDrawable);
#endif
Expand Down

0 comments on commit d1eac05

Please sign in to comment.