From bd888f62b97312d1021a5ee8ee22a526314c89d3 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Thu, 20 Aug 2020 22:24:18 +0900 Subject: [PATCH] graphicsdriver/opengl: Exclude bytes.go from non-mobile environments This requires reflect and reflect prevents Ebiten from being compiiled with TinyGo. Updates #747 --- internal/graphicsdriver/opengl/bytes.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/graphicsdriver/opengl/bytes.go b/internal/graphicsdriver/opengl/bytes.go index 88105a9c4..819a51df4 100644 --- a/internal/graphicsdriver/opengl/bytes.go +++ b/internal/graphicsdriver/opengl/bytes.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build android ios + package opengl import (