if (SDL_MapSurface(*text, screen->format) != 0) {
this line should be this
if (SDL_MapSurface(text, screen->format) != 0) {
sorry.
if (SDL_MapSurface(*text, screen->format) != 0) {
this line should be this
if (SDL_MapSurface(text, screen->format) != 0) {
sorry.
if (SDL_MapSurface(*text, screen->format) != 0) {
this line should be this
if (SDL_MapSurface(text, screen->format) != 0) {
In SDL 0.9.x SDL_MapSurface() is no longer necessary.
(Finally!