diff --git a/internal/graphics/opengl/context_desktop.go b/internal/graphics/opengl/context_desktop.go index e4abc1cbd..8b7fceaab 100644 --- a/internal/graphics/opengl/context_desktop.go +++ b/internal/graphics/opengl/context_desktop.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build darwin,!arm darwin,!arm64 linux windows +// +build darwin,!arm,!arm64 linux windows // +build !js // +build !android diff --git a/internal/graphics/opengl/context_js.go b/internal/graphics/opengl/context_js.go index f7ea06d07..2a4110bdb 100644 --- a/internal/graphics/opengl/context_js.go +++ b/internal/graphics/opengl/context_js.go @@ -19,6 +19,7 @@ package opengl import ( "errors" "fmt" + "github.com/gopherjs/gopherjs/js" "github.com/gopherjs/webgl" ) diff --git a/internal/ui/input_mobile.go b/internal/ui/input_mobile.go index fc7799951..3fe3d785b 100644 --- a/internal/ui/input_mobile.go +++ b/internal/ui/input_mobile.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build android +// +build android darwin,arm darwin,arm64 package ui diff --git a/internal/ui/keys_glfw.go b/internal/ui/keys_glfw.go index 2615958d6..371a116da 100644 --- a/internal/ui/keys_glfw.go +++ b/internal/ui/keys_glfw.go @@ -14,9 +14,9 @@ // DO NOT EDIT: This file is auto-generated by genkeys.go. +// +build darwin,!arm,!arm64 linux windows // +build !js // +build !android -// +build darwin,!arm darwin,!arm64 package ui diff --git a/internal/ui/ui_mobile.go b/internal/ui/ui_mobile.go index bf6ea8704..dc8480691 100644 --- a/internal/ui/ui_mobile.go +++ b/internal/ui/ui_mobile.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build android +// +build android darwin,arm darwin,arm64 package ui