Fix DRM build

This commit is contained in:
Milan Nikolic 2024-05-08 10:50:08 +02:00
parent 6fa153fa53
commit 8a207901da
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75
2 changed files with 2 additions and 1 deletions

View file

@ -55,7 +55,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install package - name: Install package
run: | run: |
sudo apt-get update -y; sudo apt-get -y install libegl1-mesa-dev libdrm-dev sudo apt-get update -y; sudo apt-get -y install libegl1-mesa-dev libdrm-dev libgbm-dev
- name: Build - name: Build
run: go build -tags drm run: go build -tags drm
working-directory: raylib working-directory: raylib

View file

@ -89,6 +89,7 @@
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
// Types and Structures Definition // Types and Structures Definition
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
typedef unsigned int uint;
typedef struct { typedef struct {
// Display data // Display data