Tangent128 / luasdl2

A pure C binding of SDL 2.0 for Lua 5.1, Lua 5.2, and LuaJIT.
ISC License
385 stars 74 forks source link

Fix getRelativeMouseMode() #83

Closed shamazmazum closed 3 years ago

shamazmazum commented 4 years ago

Hello. This patch fixes getRelativeMouseMode() (there must be a comparison with SDL_TRUE, not 0)

markand commented 3 years ago

Hi @Tangent128

Do you have still plan to maintain this library? Otherwise I'd be very happy to take it back as I don't really like that trivial PRs stay forever without being merged.

Tangent128 commented 3 years ago

I have fallen behind and would be happy to give it back, yes.

(This PR does look like a trivial fix, but I am not in a good position to give it the necessary smoke-test these days.)

Just replied to your email to coordinate transfer.

markand commented 3 years ago

Thank you for the patch.