0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-11 19:03:28 +00:00
Files
termux-packages/x11-packages/godot/modules-openxr-extensions-platform-openxr_opengl_extension.cpp.patch
Twaik Yont 17b9c71335 bump(x11/godot): 4.4
Closes #23585
2025-03-04 14:56:11 +02:00

11 lines
711 B
Diff

+++ ./modules/openxr/extensions/platform/openxr_opengl_extension.cpp
@@ -171,7 +171,7 @@
graphics_binding_egl.type = XR_TYPE_GRAPHICS_BINDING_EGL_MNDX;
graphics_binding_egl.next = p_next_pointer;
- graphics_binding_egl.getProcAddress = eglGetProcAddress;
+ graphics_binding_egl.getProcAddress = (__typeof__(graphics_binding_egl.getProcAddress)) eglGetProcAddress;
graphics_binding_egl.display = (void *)display_server->window_get_native_handle(DisplayServer::EGL_DISPLAY);
graphics_binding_egl.config = (void *)display_server->window_get_native_handle(DisplayServer::EGL_CONFIG);
graphics_binding_egl.context = (void *)display_server->window_get_native_handle(DisplayServer::OPENGL_CONTEXT);