Jump to content

  • Log In with Google      Sign In   
  • Create Account

RenderTarget2D and minimizing fullscreen application


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Nokame   Members   -  Reputation: 153

Like
0Likes
Like

Posted 14 March 2013 - 12:19 PM

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/



Sponsor:

#2 Tarika   Members   -  Reputation: 481

Like
0Likes
Like

Posted 02 April 2013 - 06:11 AM

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





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS