Skip to content

Commit 7de22e5

Browse files
committed
Moved to the new version of sdl3
1 parent e123fb4 commit 7de22e5

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

cabal.project

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
packages: *.cabal
22
package dear-imgui
3-
flags: -sdl +sdl3 +sdl-renderer +glfw +opengl2 +opengl3 +vulkan +examples
3+
flags: +sdl +sdl3 +sdl-renderer +glfw +opengl2 +opengl3 +vulkan +examples
44
ghc-options: -Wall -Wcompat -fno-warn-unused-do-bind
55

66

77
source-repository-package
88
type: git
99
location: https://github.com/klukaszek/sdl3-hs.git
10-
tag: 932406e5476feffbaa4394c1f642cb6d0b5cc9f0
10+
tag: aa9777f4d5bce4121e65d88b8f35a3fd874c817a

examples/sdl3/Renderer.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import Data.Word (Word64)
1212
import DearImGui
1313
import DearImGui.SDL3
1414
import DearImGui.SDL3.Renderer
15-
import SDL
15+
import SDL3
1616
import System.Exit (exitFailure, exitSuccess)
1717
import Text.Printf (printf)
1818

src/DearImGui/SDL3.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ import Control.Monad.IO.Class (
5050
MonadIO,
5151
liftIO,
5252
)
53-
import SDL.Events
53+
import SDL3.Events
5454

5555
C.context (Cpp.cppCtx <> C.bsCtx)
5656
C.include "imgui.h"

src/DearImGui/SDL3/Renderer.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import DearImGui (
4343
DrawData (..),
4444
)
4545
import Foreign.Ptr
46-
import SDL (SDLRenderer (SDLRenderer), SDLWindow (SDLWindow))
46+
import SDL3 (SDLRenderer (SDLRenderer), SDLWindow (SDLWindow))
4747

4848
C.context (Cpp.cppCtx <> C.bsCtx)
4949
C.include "imgui.h"

0 commit comments

Comments
 (0)