SDL3 Renderer support - #223
Conversation
|
The namespace problem will be resolved after merging this |
|
SDL3 was moved to the separate namespace, so it's good now. |
|
Or not. Now I have a linking problems on the macos. Trying to solve it |
|
Yeah. Linking on a mac does not work if sdl2 and sdl3 are installed at the same time and both cabal flags are used. For compatibility, I can turn off sdl3 cabal flag by default and add to the documentation how to enable it. What do you think about this solution? |
|
The sdl3 flag now disabled by default |
|
The CI builder is fubar for some reason and there's no retry button in sight. Can you amend the commit and force-push it? |
|
@dpwiz done. |
ecd06ea to
1c5ddbf
Compare
|
Some nix issues... |
|
Can I help with this somehow? |
|
Looks like niv should be used to tell nix about the SDL3 being used. |
I've made integration of sdl3 renderer. For sdl3 i've used the bindings by https://github.com/klukaszek/sdl3-hs
Demo window works with this renderer example.
It's totally not ready for merge, since the sdl3 bindings uses same namespace as sdl2 package. So the some cabal flag gymnastics is needed, which is looking ugly.
I'm totally need your advices how to make this more acceptable.