glfw-group 0.1.0.2 → 0.1.0.3
raw patch · 2 files changed
+9/−2 lines, 2 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Graphics.UI.GlfwG: setErrorCallback :: Maybe ErrorCallback -> IO ()
+ Graphics.UI.GlfwG: vulkanSupported :: IO Bool
Files
- glfw-group.cabal +1/−1
- src/Graphics/UI/GlfwG.hs +8/−1
glfw-group.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: glfw-group-version: 0.1.0.2+version: 0.1.0.3 synopsis: GLFW package with window groups destroyed together description: Please see the README on GitHub at <https://github.com/YoshikuniJujo/glfw-group#readme> category: Graphics
src/Graphics/UI/GlfwG.hs view
@@ -7,8 +7,10 @@ module Graphics.UI.GlfwG ( - init, ErrorMessage, getRequiredInstanceExtensions,+ init, setErrorCallback, ErrorMessage, + GlfwB.vulkanSupported, getRequiredInstanceExtensions,+ GlfwB.pollEvents, GlfwB.waitEvents ) where@@ -30,6 +32,11 @@ (hdl $ "Gpu.Vulkan.Khr.Surface.Glfw: " ++ "GLFW-b.Graphics.UI.GLFW.init return False") (finally cmp GlfwB.terminate)++setErrorCallback :: Maybe ErrorCallback -> IO ()+setErrorCallback = GlfwB.setErrorCallback++type ErrorCallback = GlfwB.Error -> ErrorMessage -> IO () type ErrorMessage = String