Hi!
I’m trying to get the screen surface as a software surface by using
SDL_SetVideoMode(800, 600, 16, SDL_FULLSCREEN | SDL_SWSURFACE);
But I’m unable to get a software surface. I’m using the windows/directx target
and always get a HWSURFACE. Why? What can I do to change this?
Under linux everything works great. I’m using a TNT2.
Thanks for your help,
Karl.
Sorry for asking again. But I got no answer and I can’t solve this problem.
Bye, Karl.> Hi!
I’m trying to get the screen surface as a software surface by using
SDL_SetVideoMode(800, 600, 16, SDL_FULLSCREEN | SDL_SWSURFACE);
But I’m unable to get a software surface. I’m using the windows/directx target
and always get a HWSURFACE. Why? What can I do to change this?
Under linux everything works great. I’m using a TNT2.
Thanks for your help,
Karl.
Sorry for asking again. But I got no answer and I can’t solve this problem.
What version of SDL are you using? What version of DirectX are you using?
What windows platform? Have you tried using the debugger to trace into the
SDL library to find out what’s going on?
This should never happen, BTW. If you ask for a software surface, and
the driver provides a hardware surface, then SDL internally creates a
software surface for you. … but make sure you’re using SDL 1.1.6.
Bye, Karl.
Hi!
I’m trying to get the screen surface as a software surface by using
SDL_SetVideoMode(800, 600, 16, SDL_FULLSCREEN | SDL_SWSURFACE);
But I’m unable to get a software surface. I’m using the windows/directx target
and always get a HWSURFACE. Why? What can I do to change this?
Under linux everything works great. I’m using a TNT2.
Thanks for your help,
Karl.
-Sam Lantinga, Lead Programmer, Loki Entertainment Software