Skip to content

Commit

Permalink
Merge pull request #37 from EngoEngine/apple-m1
Browse files Browse the repository at this point in the history
Add support for Apple M1
  • Loading branch information
Noofbiz authored Feb 25, 2022
2 parents d98530c + 7f860ef commit d0e7659
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions gl_gl2.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build darwin,!arm,!arm64 linux windows
// +build !ios,!android,!js,!nogl
//go:build (darwin || linux || windows) && !ios && !android && !js && !nogl
// +build darwin linux windows
// +build !ios
// +build !android
// +build !js
// +build !nogl

package gl

Expand Down
2 changes: 1 addition & 1 deletion gl_mobile.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//+build android darwin,arm darwin,arm64 ios
//+build android ios
//+build !nogl

package gl
Expand Down

0 comments on commit d0e7659

Please sign in to comment.