mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
internal/graphicsdriver/opengl/gl: bug fix: wrong build tags
This commit is contained in:
parent
c1b31fa504
commit
55c7a2df6c
@ -19,10 +19,11 @@ package gl
|
||||
|
||||
/*
|
||||
#cgo linux freebsd openbsd CFLAGS: -DTAG_POSIX
|
||||
#cgo linux,!ebitenginecbackend && !ebitencbackend freebsd,!ebitencbackend openbsd,!ebitencbackend pkg-config: gl
|
||||
#cgo linux,!ebitenginecbackend,!ebitencbackend freebsd,!ebitenginecbackend,!ebitencbackend openbsd,!ebitenginecbackend,!ebitencbackend pkg-config: gl
|
||||
#cgo egl CFLAGS: -DTAG_EGL
|
||||
#cgo egl,!ebitenginecbackend && !ebitencbackend pkg-config: egl
|
||||
#cgo ebitenginecbackend || ebitencbackend LDFLAGS: -Wl,-unresolved-symbols=ignore-all
|
||||
#cgo egl,!ebitenginecbackend,!ebitencbackend pkg-config: egl
|
||||
#cgo ebitenginecbackend ebitencbackend LDFLAGS: -Wl,-unresolved-symbols=ignore-all
|
||||
|
||||
// Check the EGL tag first as it takes priority over the platform's default
|
||||
// configuration of WGL/GLX/CGL.
|
||||
#if defined(TAG_EGL)
|
||||
|
Loading…
Reference in New Issue
Block a user