I am just learning SDL, and I took the DrawPixel and screen initilization
code from the SDL homepage. I am developing on Win32 using MSVC++, and I
compiled the libs and DLLs myslef.
When it calls SDL_MapRGB in DrawPixel (completely unaltered from the source
on the SDL homepage), I get the following error:
Segmentation Fault (SDL Parachute Deployed)
Does anyone have any idea what could be causing this? I DO get a window for
SDL, but it closes immediately after this error.