diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 75a9ed7..95056cb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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-mesa-dev + run: sudo apt-get update && sudo apt-get install libgl1 libxcursor1 libxi6 libxinerama1 libxrandr2 xvfb - name: Check out module uses: actions/checkout@v2 diff --git a/gl41_test.go b/gl41_test.go index 65d6bbe..688f957 100644 --- a/gl41_test.go +++ b/gl41_test.go @@ -121,6 +121,7 @@ func TestBasic(t *testing.T) { // https://www.glfw.org/faq.html#41---how-do-i-create-an-opengl-30-context glfw.WindowHint(glfw.OpenGLForwardCompatible, glfw.True) glfw.WindowHint(glfw.OpenGLProfile, glfw.OpenGLCoreProfile) + glfw.WindowHint(glfw.StencilBits, 8) window, err := glfw.CreateWindow(800, 600, "Test", nil, nil) if err != nil {