Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualMike.Popoloski

Posted 01 November 2012 - 07:33 PM

Make sure you're passing the AllowModeSwitch flag in your swap chain description. Without it, DXGI will simply use the desktop resolution.

EDIT:

Nevermind, I just noticed you're passing this to ResizeBuffers already, which is correct. However, it looks like you only set the client size of the window when in windowed mode. I'm pretty sure it's necessary that you also set the size of the window when in fullscreen mode. ResizeBuffers will only resize your backbuffer; it's probably get squashed back down to fit on the form surface.

#1Mike.Popoloski

Posted 01 November 2012 - 07:28 PM

Make sure you're passing the AllowModeSwitch flag in your swap chain description. Without it, DXGI will simply use the desktop resolution.

PARTNERS