Original Post
Hello, Here's the problem. I ahve to change the source.w = source->w; and the source.h one as well. They are getting absurd values when I debug and crashing if I run them as is from the tutorial. Now the window displays. but nothing shows, just a blank screen. I've tried moving the file around, anyone help? Thanks. void Draw(int x, int y, SDL_Surface *sprite) { SDL_Rect source; SDL_Rect dest; source.x = 0; source.y = 0; //source.w = sprite->w; //source.h = sprite->h; source.w = 1024; source.h = 768; dest.x = source.x; dest.y = source.y; dest.w = source.w; dest.h = source.h; I have another file, literally identical to this one, except for the filename. when run thru the compiler it shows a blank screen, but when run from command prompt it displays the picture. when this one is run from the command prompt it won't show the pic, jsut a blank screen and I"ve tried moving it around. Anything I might be missing? thanks Pures