Add es3 build tag
This commit is contained in:
parent
040d87fb79
commit
4da19689d8
11 changed files with 71 additions and 60 deletions
|
@ -39,15 +39,16 @@ package rl
|
|||
#cgo openbsd,!wayland LDFLAGS: -lm -pthread -lX11
|
||||
#cgo openbsd,wayland LDFLAGS: -lm -pthread -lwayland-client -lwayland-cursor -lwayland-egl -lxkbcommon
|
||||
|
||||
#cgo openbsd,!es2 LDFLAGS: -lGL
|
||||
#cgo openbsd,!es2,!es3 LDFLAGS: -lGL
|
||||
|
||||
#cgo openbsd,!wayland CFLAGS: -D_GLFW_X11
|
||||
#cgo openbsd,wayland CFLAGS: -D_GLFW_WAYLAND
|
||||
|
||||
#cgo openbsd,opengl11,!es2 CFLAGS: -DGRAPHICS_API_OPENGL_11
|
||||
#cgo openbsd,opengl21,!es2 CFLAGS: -DGRAPHICS_API_OPENGL_21
|
||||
#cgo openbsd,opengl43,!es2 CFLAGS: -DGRAPHICS_API_OPENGL_43
|
||||
#cgo openbsd,!opengl11,!opengl21,!opengl43,!es2 CFLAGS: -DGRAPHICS_API_OPENGL_33
|
||||
#cgo openbsd,es2 CFLAGS: -DGRAPHICS_API_OPENGL_ES2
|
||||
#cgo openbsd,opengl11,!es2,!es3 CFLAGS: -DGRAPHICS_API_OPENGL_11
|
||||
#cgo openbsd,opengl21,!es2,!es3 CFLAGS: -DGRAPHICS_API_OPENGL_21
|
||||
#cgo openbsd,opengl43,!es2,!es3 CFLAGS: -DGRAPHICS_API_OPENGL_43
|
||||
#cgo openbsd,!opengl11,!opengl21,!opengl43,!es2,!es3 CFLAGS: -DGRAPHICS_API_OPENGL_33
|
||||
#cgo openbsd,es2,!es3 CFLAGS: -DGRAPHICS_API_OPENGL_ES2
|
||||
#cgo openbsd,es3,!es2 CFLAGS: -DGRAPHICS_API_OPENGL_ES3
|
||||
*/
|
||||
import "C"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue