Skip to content

Commit

Permalink
github actions install mesa GPU drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
soypat committed Nov 10, 2024
1 parent 775d4d2 commit b14497b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup OpenGL
uses: openrndr/[email protected]
- name: Setup GPU drivers
run: apt install libgl1-mesa-dev xorg-dev

- name: Env disable Cgo
run: echo "CGO_ENABLED=0" >> $GITHUB_ENV
Expand Down
1 change: 1 addition & 0 deletions gleval/gpu.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ func Init1x1GLFW() (terminate func(), err error) {
Width: 1,
Height: 1,
HideWindow: true,
ForwardCompat: true,
})
return terminate, err
}
Expand Down

0 comments on commit b14497b

Please sign in to comment.