diff --git a/app/egl_android.go b/app/egl_android.go index 2c311302..4d8352e7 100644 --- a/app/egl_android.go +++ b/app/egl_android.go @@ -1,5 +1,7 @@ // SPDX-License-Identifier: Unlicense OR MIT +//go:build !noopengl + package app /* diff --git a/app/egl_wayland.go b/app/egl_wayland.go index c2406a0a..f0933364 100644 --- a/app/egl_wayland.go +++ b/app/egl_wayland.go @@ -1,8 +1,9 @@ // SPDX-License-Identifier: Unlicense OR MIT -//go:build ((linux && !android) || freebsd) && !nowayland +//go:build ((linux && !android) || freebsd) && !nowayland && !noopengl // +build linux,!android freebsd // +build !nowayland +// +build !noopengl package app diff --git a/app/egl_windows.go b/app/egl_windows.go index 3a95450e..f4d994ad 100644 --- a/app/egl_windows.go +++ b/app/egl_windows.go @@ -1,5 +1,7 @@ // SPDX-License-Identifier: Unlicense OR MIT +//go:build !noopengl + package app import ( diff --git a/app/egl_x11.go b/app/egl_x11.go index 72348084..7186cc0b 100644 --- a/app/egl_x11.go +++ b/app/egl_x11.go @@ -1,8 +1,9 @@ // SPDX-License-Identifier: Unlicense OR MIT -//go:build ((linux && !android) || freebsd || openbsd) && !nox11 +//go:build ((linux && !android) || freebsd || openbsd) && !nox11 && !noopengl // +build linux,!android freebsd openbsd // +build !nox11 +// +build !noopengl package app