#include "SDL/SDL.h" const int SCREEN_WIDTH = 640; const int SCREEN_HEIGHT = 480; const int SCREEN_BPP = 32; int main( int argc, char* args[] ) { SDL_Surface *screen = NULL; SDL_Init( SDL_INIT_EVERYTHING ); screen = SDL_SetVideoMode( SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP, SDL_SWSURFACE ); SDL_WM_SetCaption("Pirma SDL programa by kestaz", NULL ); SDL_Surface* loadedImage = NULL; loadedImage = SDL_LoadBMP("/home/kestaz/test.bmp"); SDL_Delay( 2000 ); SDL_Quit(); return 0; }