From 143039236bbf78241481bcfe4418fec415590a1e Mon Sep 17 00:00:00 2001 From: nek0 Date: Fri, 6 Sep 2019 22:36:42 +0200 Subject: [PATCH] update sdl2 --- ibis.cabal | 2 +- src/Util.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ibis.cabal b/ibis.cabal index 45b3cff..136c1e2 100644 --- a/ibis.cabal +++ b/ibis.cabal @@ -27,7 +27,7 @@ executable ibis , containers , optparse-applicative , poppler - , sdl2 + , sdl2 ^>= 2.5.0.0 , linear , monad-loops , OpenGL diff --git a/src/Util.hs b/src/Util.hs index e7b06be..bfcc9c9 100644 --- a/src/Util.hs +++ b/src/Util.hs @@ -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 } }