Advertisement

Windows skips frame !! (DjGpp+rsxnt+Allegro)

Started by September 25, 1999 10:20 AM
-1 comments, last by michaelbricout 25 years, 4 months ago
I have a game fast action game in beta version for Windows 9x, compiled with DJGPP + RSXNTDj, using WinAllegro 3.9. It's a fast action game with horizontal scrolling, in 640x400.

I use page flipping. The frame indicator (simple palette switching for color 0) indicates a refresh time of about 1/8 frame.

Problem : my game skip one frame every 10 or 15 seconds, or more depending on what is running in the background in Windows. I think the reason is that a vsync is not detected because my program is not active at that particular moment.

How can I give a higher priority to my game, or make sure that it will be active when the vsync occurs ?

Any help appreciated !!

This topic is closed to new replies.

Advertisement