From a0197d4c2fa06f6374a824855f16b19cca889212 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 26 Jul 2020 17:01:09 +0900 Subject: [PATCH] graphicsdriver/opengl: Bug fix: Build error on Android Fixes #1266 --- internal/graphicsdriver/opengl/context_notx.go | 2 +- internal/graphicsdriver/opengl/context_x.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/graphicsdriver/opengl/context_notx.go b/internal/graphicsdriver/opengl/context_notx.go index 0521c85d5..ed20f97c3 100644 --- a/internal/graphicsdriver/opengl/context_notx.go +++ b/internal/graphicsdriver/opengl/context_notx.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build js !freebsd,!linux +// +build android js !freebsd,!linux package opengl diff --git a/internal/graphicsdriver/opengl/context_x.go b/internal/graphicsdriver/opengl/context_x.go index 60f4b0970..b6690151a 100644 --- a/internal/graphicsdriver/opengl/context_x.go +++ b/internal/graphicsdriver/opengl/context_x.go @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build !android // +build !js // +build freebsd linux