I've been scratching my head at this for a few days trying to get this to work with no avail. I've been using this library https://github.com/brentdc-nz/libSDL2x/tree/master but it's not very complete, so I tried using Lantus's libSDLx library (SDL 1.2) and I couldn't get it to set up properly. I'm on physical hardware running Windows XP Professional SP3 32-bit. libSDL2x wouldn't work because it would break at SDL_RenderPresent() and spit out an error about memory allocation?