Tangent128 / luasdl2

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

SDL 2.0.2 Constants #11

Closed Tangent128 closed 7 years ago

Tangent128 commented 9 years ago

SDL 2.0.2 added a few constants and functions: http://forums.libsdl.org/viewtopic.php?t=10088

Not all of the functions are necessarily relevant to this binding, but constants like SDL_RENDER_TARGETS_RESET are probably valuable to have exposed.

These constants should be suitably ifdef'd so that compiling with older SDL2 versions still works.