Quote:Original post by noteventime
Ahhh....
Apps work in fullscreen but not in windowed. (^_^) One step further.
how complicated must the program be before it wont work:
ie, does something like this work
EDIT: coded from memory, quite possible i've forgotten something
int main(int, char**){ if( SDL_Init(SDL_INIT_VIDEO) < 0 ){ cout << SDL_GetError() << endl;} SDL_Surface *screen = SDL_SetVideoMode(300,300,SDL_SWSURFACE); if( !screen ) { cout << SDL_GetError() << endl; } while(1) { SDL_Event event; while( SDL_PollEvent(&event) ) { if( event.type == SDL_QUIT ) return 0; } SDL_UpdateRect(0,0,0,0); // comment this out if it doesnt work } return 0;}
if that doesnt work then all i can think of is that SDL is trying to do something funky that your graphics card cant do, and it fails.