Villacaleb / slimdx

Automatically exported from code.google.com/p/slimdx
MIT License
0 stars 0 forks source link

Fullscreen problem #689

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I'm having some problems with setting my application to fullscreen.
Everytime is switch to fullscreen the screen starts flickering black and
after a while it stay's black but it's still rendering to the window and not to 
my fullscreen window. It doesn't make a difference if i use Alt+enter, 
SetFullscreenState or init the application as non-windowed.

The application is using .NET 3.5, SlimDX february 2010 build, Direct2D and 
DirectX 10.1.

Thx.

Original issue reported on code.google.com by hennequi...@gmail.com on 13 Jun 2010 at 8:16

GoogleCodeExporter commented 9 years ago
I solved the problem: You cannot use a WindowRenderTarget when using fullscreen 
because the WindowRenderTarget is bound to the window it was created for. 
Changed to code to create a RenderTarget from the backbuffer surface and now it 
works. So this isn't a defect.

Original comment by hennequi...@gmail.com on 15 Jun 2010 at 9:11

GoogleCodeExporter commented 9 years ago

Original comment by josh.petrie on 17 Jun 2010 at 3:34