feature: Add DRM leasing code
This commit is contained in:
parent
3df816e2bf
commit
45473d7240
9 changed files with 1611 additions and 99 deletions
11
raylib/cgo_linux_drm_no_keyboard.go
Normal file
11
raylib/cgo_linux_drm_no_keyboard.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
//go:build linux && drm && drm_disable_input && !drm_leasing && !rgfw && !sdl && !sdl3 && !android
|
||||
// +build linux,drm,drm_disable_input,!drm_leasing,!rgfw,!sdl,!sdl3,!android
|
||||
|
||||
package rl
|
||||
|
||||
/*
|
||||
#cgo pkg-config: libdrm gbm
|
||||
#cgo linux,drm LDFLAGS: -lGLESv2 -lEGL -lpthread -lrt -lm -ldl
|
||||
#cgo linux,drm CFLAGS: -DDISABLE_EVDEV_INPUT -DPLATFORM_DRM -DGRAPHICS_API_OPENGL_ES2 -DEGL_NO_X11
|
||||
*/
|
||||
import "C"
|
Loading…
Add table
Add a link
Reference in a new issue