update sdl2

This commit is contained in:
nek0 2019-09-06 22:36:42 +02:00
parent 2dab30ca09
commit 143039236b
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ executable ibis
, containers
, optparse-applicative
, poppler
, sdl2
, sdl2 ^>= 2.5.0.0
, linear
, monad-loops
, OpenGL

View File

@ -27,7 +27,7 @@ import Types
glWindowConfig :: SDL.WindowConfig
glWindowConfig = SDL.defaultWindow
{ SDL.windowResizable = True
, SDL.windowOpenGL = Just SDL.defaultOpenGL
, SDL.windowGraphicsContext = SDL.OpenGLContext SDL.defaultOpenGL
{ SDL.glProfile = SDL.Core SDL.Normal 3 3
}
}