Active Rendering Problems

When I run my game application with active rendering (Fullscreen with buffer strat) I sometimes have problems with my fonts displaying streeeched vertically and horizontally (maybe 10% of the time). I change the display to 1024x768 but I normally am running my desktop in 1280x1024 so if it was a race conditional between setting my font properties at the current display mode you would think the fonts would appear smaller.

The problem occurs more often when I use Mantis 1.4.2 to compile and run my game application.

Anyone else experience this? Any ideas on how to fix it?

are you keeping the color depth the same?

fullscreen and font drawing is buggered (oops - i mean bugged ;D) when using different color depths.

Well no I change from 32bit to 16bit mode because it runs faster and you notice very little color loss but that is an interesting point.

It still works most of the time so I’m thinking I need to put a sleep in sometime after creating my Graphics Device. I do create an extra offscreen buffer that is not part of the buffer strategy and this is the only place the text shows up corrupted so it might have to do with creating the graphics device after I created a compatiblevolatileImage out of my extra buffer.

Again its not easy for me to know if anything I do fixes it because it only happens on occassions.