edgar-mtz-e / slimdx

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

SampleFramework GraphicalDevice.ToggleFullScreen problem. #457

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(This is using the latest SVN revision)

The ToggleFullScreen functionality is broken, it changes the resolution of 
the application to the desktop resolution (from 800x600 to 1280x800 in my 
case) and you have no choice to maintain the old windowed resolution. 
(messing up the whole app)

(If i start the app from scratch with 800x600 and fullscreen mode (instead 
of toggling) it work so its definitely a togglefullscreen problem)

Original issue reported on code.google.com by feal87@gmail.com on 21 Mar 2009 at 4:25

GoogleCodeExporter commented 9 years ago
Yes, I see the issue, although at this point I won't be making the fix because 
it
would break any existing application built on the sample framework.

Further, the sample framework will be going away some time in the near future, 
so I
don't mind leaving this broken for a little longer.

It should be easy enough for you to use ChangeDevice instead, since that's all
ToggleFullScreen is doing for you anyway.

Original comment by Mike.Popoloski on 25 Mar 2009 at 3:17