Skip to content

Commit d0e7659

Browse files
authored
Merge pull request #37 from EngoEngine/apple-m1
Add support for Apple M1
2 parents d98530c + 7f860ef commit d0e7659

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

gl_gl2.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
// +build darwin,!arm,!arm64 linux windows
6-
// +build !ios,!android,!js,!nogl
5+
//go:build (darwin || linux || windows) && !ios && !android && !js && !nogl
6+
// +build darwin linux windows
7+
// +build !ios
8+
// +build !android
9+
// +build !js
10+
// +build !nogl
711

812
package gl
913

gl_mobile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//+build android darwin,arm darwin,arm64 ios
1+
//+build android ios
22
//+build !nogl
33

44
package gl

0 commit comments

Comments
 (0)