Rename angle to es2

This commit is contained in:
Milan Nikolic 2023-11-07 14:06:19 +01:00
parent c0b171213e
commit e3d8d6dd12
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75
11 changed files with 62 additions and 62 deletions

View file

@ -26,12 +26,12 @@ package rl
#cgo darwin LDFLAGS: -framework Cocoa -framework IOKit -framework CoreVideo -framework CoreFoundation
#cgo darwin CFLAGS: -x objective-c -Iexternal/glfw/include -D_GLFW_COCOA -D_GLFW_USE_CHDIR -D_GLFW_USE_MENUBAR -D_GLFW_USE_RETINA -Wno-deprecated-declarations -Wno-implicit-const-int-float-conversion -DPLATFORM_DESKTOP
#cgo darwin,!angle LDFLAGS: -framework OpenGL
#cgo darwin,!es2 LDFLAGS: -framework OpenGL
#cgo darwin,opengl11,!angle CFLAGS: -DGRAPHICS_API_OPENGL_11
#cgo darwin,opengl21,!angle CFLAGS: -DGRAPHICS_API_OPENGL_21
#cgo darwin,opengl43,!angle CFLAGS: -DGRAPHICS_API_OPENGL_43
#cgo darwin,!opengl11,!opengl21,!opengl43,!angle CFLAGS: -DGRAPHICS_API_OPENGL_33
#cgo darwin,angle CFLAGS: -DGRAPHICS_API_OPENGL_ES2
#cgo darwin,opengl11,!es2 CFLAGS: -DGRAPHICS_API_OPENGL_11
#cgo darwin,opengl21,!es2 CFLAGS: -DGRAPHICS_API_OPENGL_21
#cgo darwin,opengl43,!es2 CFLAGS: -DGRAPHICS_API_OPENGL_43
#cgo darwin,!opengl11,!opengl21,!opengl43,!es2 CFLAGS: -DGRAPHICS_API_OPENGL_33
#cgo darwin,es2 CFLAGS: -DGRAPHICS_API_OPENGL_ES2
*/
import "C"