Archived

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

D3D8 - Changing screen resolution

This topic is 5705 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

If i want to change from, say 640x400x32 to 800x600x16 in the middle of my program, do i need to Release() my D3DDevice, and therefore all my textures? If so, then i''d be better off using non-D3D managed textures, so i could re-create them from the system memory copies after i re-create the device. Is this a good idea? Cheers, Steve
DirectX Programmer
Soon to be the new Bill Gates

Share this post


Link to post
Share on other sites
I don''t think it''s a nice idea changing the screen resolution in the middle of the game..Anyway u should better rebuild everything again and not use other ways to store textures...

~The fastest polygons are those you don''''t draw...~

Share this post


Link to post
Share on other sites
It may not be a good idea, but its nice to be able to change resolution. At the moment i''m using managed textures, and a texture manager class to store all the textures.

Cheers,

Steve
DirectX Programmer
Soon to be the new Bill Gates

Share this post


Link to post
Share on other sites
D''oh! of course! I forgot about resetting the device! I thought you could only do that if your app lost focus.

Cheers muchly,

Steve
DirectX Programmer
Soon to be the new Bill Gates

Share this post


Link to post
Share on other sites