From a7c03f1a25b0ea2eca2787b5efa54c412af84ff9 Mon Sep 17 00:00:00 2001 From: Geoffrey Casper Date: Sat, 4 May 2024 10:46:11 -0400 Subject: [PATCH] update cgo linux C source file list --- v3.4/glfw/c_glfw.go | 5 +++++ v3.4/glfw/c_glfw_lin.go | 26 +++++++++----------------- 2 files changed, 14 insertions(+), 17 deletions(-) diff --git a/v3.4/glfw/c_glfw.go b/v3.4/glfw/c_glfw.go index c5dbde62..62ea7e82 100644 --- a/v3.4/glfw/c_glfw.go +++ b/v3.4/glfw/c_glfw.go @@ -1,11 +1,16 @@ package glfw /* +#include "glfw/src/platform.c" #include "glfw/src/context.c" +#include "glfw/src/null_init.c" #include "glfw/src/init.c" #include "glfw/src/input.c" +#include "glfw/src/null_joystick.c" +#include "glfw/src/null_monitor.c" #include "glfw/src/monitor.c" #include "glfw/src/vulkan.c" +#include "glfw/src/null_window.c" #include "glfw/src/window.c" #include "glfw/src/osmesa_context.c" */ diff --git a/v3.4/glfw/c_glfw_lin.go b/v3.4/glfw/c_glfw_lin.go index 64bfea12..0eb1012a 100644 --- a/v3.4/glfw/c_glfw_lin.go +++ b/v3.4/glfw/c_glfw_lin.go @@ -4,24 +4,16 @@ package glfw /* -#ifdef _GLFW_WAYLAND - #include "glfw/src/wl_init.c" - #include "glfw/src/wl_monitor.c" - #include "glfw/src/wl_window.c" - #include "glfw/src/wayland-idle-inhibit-unstable-v1-client-protocol.c" - #include "glfw/src/wayland-pointer-constraints-unstable-v1-client-protocol.c" - #include "glfw/src/wayland-relative-pointer-unstable-v1-client-protocol.c" - #include "glfw/src/wayland-viewporter-client-protocol.c" - #include "glfw/src/wayland-xdg-decoration-unstable-v1-client-protocol.c" - #include "glfw/src/wayland-xdg-shell-client-protocol.c" -#endif -#ifdef _GLFW_X11 - #include "glfw/src/x11_window.c" - #include "glfw/src/x11_init.c" - #include "glfw/src/x11_monitor.c" - #include "glfw/src/glx_context.c" -#endif +#include "glfw/src/wl_init.c" +#include "glfw/src/wl_monitor.c" +#include "glfw/src/wl_window.c" +#include "glfw/src/x11_window.c" +#include "glfw/src/x11_init.c" +#include "glfw/src/x11_monitor.c" +#include "glfw/src/glx_context.c" #include "glfw/src/linux_joystick.c" +#include "glfw/src/posix_module.c" +#include "glfw/src/posix_poll.c" #include "glfw/src/posix_time.c" #include "glfw/src/posix_thread.c" #include "glfw/src/xkb_unicode.c"