Is there anything special that needs to be done to make this code work? It only works for me with uncommented incudes. I am using DevCpp as per instructions.
The SDL version is 2.0.14.
//#if !defined(_MSC_VER)
//# include <SDL2/SDL.h>
//# include <SDL2/SDL_image.h>
//#else
// These headers for SDL seem to be the pkgconfig/meson standard as per the
// latest versions. If the old ones should be used, the ifdef must be used
// to compare versions.
# include <SDL.h>
# include <SDL_image.h>
//#endif
Is there anything special that needs to be done to make this code work? It only works for me with uncommented incudes. I am using DevCpp as per instructions.
The SDL version is 2.0.14.