RenderTarget2D and minimizing fullscreen application

Started by
0 comments, last by AmzBee 11 years ago

Hi there,

I recently noticd that when I have my game minimized during initialization, it seems to fail in creating RenderTarget2D surfaces. It has no error message and the game itself looks fine, but any draw call (using spritebatch) that explicitly draws RenderTarget2D objects created during initialization are not visible... as if the pixel data is completely wiped, or never actually initialized due to the application being minimized. I'm not interested in better ways to draw or whatever... i'm interested in knowing if this specific situation is normal, perhaps it is the reason there are better ways of drawing and saving pixel data. If anyone can shed light on this, i'd be grateful.

Thank you.

https://sites.google.com/site/kingmxf/

Advertisement

The question is do you really need to be rendering while the game is minimized? If you are just creating a game then it seems a bit of a waste of system resources if you want to render stuff while the game is inactive.

Aimee

We are now on Tumblr, so please come and check out our site!

http://xpod-games.com

This topic is closed to new replies.

Advertisement