Skip to main content
GameDev.net gamedev.net
🔒 Locked

Fullscreen in d3d?

Started by Solarbeam Nov 1, 2000 at 11:54 AM 3 replies 350+ views
Original Post
Solarbeam
Solarbeam
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!
------------------------------Large explosion consumes building, hero walks away unharmed (wtf? why?) CUT
acw83
acw83
Are you using the d3dx libraries?

-------------------------
How you like them apples?
Etnu
Etnu
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)
---------------------------Hello, and Welcome to some arbitrary temporal location in the space-time continuum.
Solarbeam
Solarbeam
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).
------------------------------Large explosion consumes building, hero walks away unharmed (wtf? why?) CUT

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.