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 , containers
, optparse-applicative , optparse-applicative
, poppler , poppler
, sdl2 , sdl2 ^>= 2.5.0.0
, linear , linear
, monad-loops , monad-loops
, OpenGL , OpenGL

View File

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