[SDL] SDL_SetVideoMode not working
Edward Byard
e_byard at yahoo.co.uk
Sun Dec 17 10:48:05 PST 2006
Hi Folks,
I've setup SDL according to a tutorial (I've used SDL before, but removed it from my system awhile back) and now it doesn't work.
A test program compiles fine, so all my libraries are in the right place and all settings are correct.
When I call SDL_Init there are no errors, but on calling
ScrDisplay = SDL_SetVideoMode( SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP, SDL_HWSURFACE );
SrcDisplay remains NULL so what's going on?? My video card supports hw surfaces, 4 bpp and a standard 800x600 res so I can't see any problems on a hardware level...
I've recently installed the DirectX sdk and tools from Microsoft....could this have screwed things up??
Many Thanks
Ed
Send instant messages to your online friends http://uk.messenger.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20061217/3c66a1c6/attachment.html
More information about the SDL
mailing list