update sdl2
This commit is contained in:
parent
2dab30ca09
commit
143039236b
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue