Se algo de c y he querido empezar a tocar graficos, he probado opengl pero me parece bastante complicado y hay muy poca documentacion en español. Asi que me puse con SDL, con este tutorial: http://lazyfoo.net/SDL_tutorials
Estoy en el tema 2 del tutorial y me surge una duda, que significan los parametros de estas funciones?:
- Código: Seleccionar todo
- SDL_Surface *load_image( std::string filename )<---------------------------------------------------
 {
 //Temporary storage for the image that's loaded
 SDL_Surface* loadedImage = NULL;
 //The optimized image that will be used
 SDL_Surface* optimizedImage = NULL;
 //Load the image loadedImage = SDL_LoadBMP( filename.c_str() ); <------------------------------------
 //If nothing went wrong in loading the image
 if( loadedImage != NULL )
 {
 //Create an optimized image
 optimizedImage = SDL_DisplayFormat( loadedImage );
 //Free the old image SDL_FreeSurface( loadedImage );
 }
http://lazyfoo.net/SDL_tutorials/lesson02/index.php
gracias por la ayuda



 .
.
 .
.

