From 144d2374bfc80e332b1c5464dbbaf90a5233ba05 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 13 Nov 2022 22:50:01 +0900 Subject: [PATCH] internal/graphicsdriver/opengl/gl: remove 'egl' build tag Probably nobody uses this. --- internal/graphicsdriver/opengl/gl/procaddr_others.go | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/internal/graphicsdriver/opengl/gl/procaddr_others.go b/internal/graphicsdriver/opengl/gl/procaddr_others.go index da13b29e7..714477422 100644 --- a/internal/graphicsdriver/opengl/gl/procaddr_others.go +++ b/internal/graphicsdriver/opengl/gl/procaddr_others.go @@ -6,19 +6,17 @@ package gl /* -#cgo linux freebsd openbsd CFLAGS: -DTAG_POSIX -#cgo linux,!nintendosdk freebsd,!nintendosdk openbsd,!nintendosdk pkg-config: gl -#cgo egl nintendosdk CFLAGS: -DTAG_EGL -#cgo egl,!nintendosdk pkg-config: egl -#cgo nintendosdk LDFLAGS: -Wl,-unresolved-symbols=ignore-all +#cgo !nintendosdk pkg-config: gl +#cgo nintendosdk CFLAGS: -DTAG_NINTENDOSDK +#cgo nintendosdk LDFLAGS: -Wl,-unresolved-symbols=ignore-all -#if defined(TAG_EGL) +#if defined(TAG_NINTENDOSDK) #include #include static void* getProcAddress(const char* name) { return eglGetProcAddress(name); } -#elif defined(TAG_POSIX) +#else #include #include static void* getProcAddress(const char* name) {