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