07-03-2005, 09:04 PM
Alright, I'm using the SDL library, and I have two problems that are related to the program's speed.
The first one, is that when in windowed mode, despite the fact that my program has no set FPS (which I'll get to in the next problem), it runs perfectly fine. But when set to FullScreen mode, it runs well, except for instances on the screen when AlphaBlending is called. This causes the screen to move veeery slowly until the Alpha Blending is gone.
The second one, is that the game doesn't have any set FPS at all, so could someone please explain to me how I could set an FPS variable, and have the program react to it?
Thanks.
The first one, is that when in windowed mode, despite the fact that my program has no set FPS (which I'll get to in the next problem), it runs perfectly fine. But when set to FullScreen mode, it runs well, except for instances on the screen when AlphaBlending is called. This causes the screen to move veeery slowly until the Alpha Blending is gone.
The second one, is that the game doesn't have any set FPS at all, so could someone please explain to me how I could set an FPS variable, and have the program react to it?
Thanks.