Skip to content

Commit

Permalink
fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
myaaaaaaaaa committed Jul 5, 2024
1 parent ec6b0b5 commit 67277d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- name: Install dependencies (linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt-get update && sudo apt-get install libgl1 libxcursor1 libxi6 libxinerama1 libxrandr2 xvfb
run: sudo apt-get update && sudo apt-get install libgl-dev libxcursor-dev libxi6 libxinerama1 libxrandr2 xvfb

- name: Check out module
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions gl41_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ func TestBasic(t *testing.T) {
defer glfw.Terminate()

glfw.WindowHint(glfw.Visible, glfw.False)
glfw.WindowHint(glfw.ContextVersionMajor, 4)
glfw.WindowHint(glfw.ContextVersionMinor, 1)
glfw.WindowHint(glfw.ContextVersionMajor, 3)
glfw.WindowHint(glfw.ContextVersionMinor, 2)

// Needed for OS X
// https://www.glfw.org/faq.html#41---how-do-i-create-an-opengl-30-context
Expand Down

0 comments on commit 67277d0

Please sign in to comment.