From dde53df6aed692f7d987fc983683a10523449880 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 24 Oct 2021 15:23:25 +0900 Subject: [PATCH] internal/uidriver/glfw: Bug fix: Compile error --- internal/uidriver/glfw/graphics_darwin.go | 4 ++-- internal/uidriver/glfw/graphics_opengl.go | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/internal/uidriver/glfw/graphics_darwin.go b/internal/uidriver/glfw/graphics_darwin.go index 508fa9857..925282d72 100644 --- a/internal/uidriver/glfw/graphics_darwin.go +++ b/internal/uidriver/glfw/graphics_darwin.go @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build !ebitengl -// +build !ebitengl +//go:build !ebitengl && !ios +// +build !ebitengl,!ios package glfw diff --git a/internal/uidriver/glfw/graphics_opengl.go b/internal/uidriver/glfw/graphics_opengl.go index e7dca753c..d5d064ff7 100644 --- a/internal/uidriver/glfw/graphics_opengl.go +++ b/internal/uidriver/glfw/graphics_opengl.go @@ -12,8 +12,11 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build !android && !js && !ios -// +build !android,!js,!ios +//go:build !android && (!darwin || ebitengl) && !ios && !js +// +build !android +// +build !darwin ebitengl +// +build !ios +// +build !js package glfw