Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Solarbeam

Fullscreen in d3d?

This topic is 6441 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Can someone give me some sample init code for making d3d run in fullscreen mode? There isnt any in the SDK or any of the demos (they''re all in windowed mode). Please, help!

Share this post


Link to post
Share on other sites
Advertisement
All of the IM examples use the D3DFrameWork Wrapper.

You can check out those, and look for where they swap from full screen to windowed mode (and vice versa) (actually this would be better to see, as it demonstrates how to change resolutions as well).

D3DX demos have a full screen example as well (trivFS)

Share this post


Link to post
Share on other sites
Well, the problem is, these either use the framework (I cant figure out where it handles all the menu code) or the d3dx stuff, which i dont want to use. You see, im writing a 3d engine (isnt everyone) and i dont want to be TOO dependent on things i dont entirely understand, so...please, just give me some non-framework and non-d3dx code if it isnt too much trouble (if it is, just say so and ill stop asking).

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
What version of DX are you using? If it''s 7 or below, then D3D doesn''t do fullscreen, that''s DDraw''s job, of which there are examples in the SDK.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!