lukexi / halive

Live recompiler for Haskell
BSD 2-Clause "Simplified" License
263 stars 17 forks source link

SDL demo broken since sdl2-2.5 #37

Open turion opened 4 years ago

turion commented 4 years ago

This commit broke the demo:

https://github.com/haskell-game/sdl2/commit/eb40908f24a136dc6f35dbc27c7faed24efbd477#diff-5e4783ffbf4a7445e2672960c2948177

The error is now:

demo/Window.hs:22:11: error: Not in scope: ‘windowOpenGL’
   |
22 |         { windowOpenGL = Just $ defaultOpenGL
   |  
turion commented 4 years ago

This change shows how to fix it: https://github.com/haskell-game/sdl2/commit/eb40908f24a136dc6f35dbc27c7faed24efbd477#diff-8f8c5ef577b0c94d32625032fb193f18R34