Jump to content
  • Advertisement


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


multiple devices = multiple resources?

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

Hi, im using a dual monitor system and when I load a mesh from disk: if( FAILED( D3DXLoadMeshFromX( iFilename, D3DXMESH_SYSTEMMEM, iDevice, NULL, &pD3DXMtrlBuffer, NULL, &g_dwNumMaterials, &g_pMesh ) ) ) I have to specify the device, then the object is only visible on the screen with that device and not on both screens. Is there a way of sharing resources or do i have to load it twice - one to each device? thanks Yratelev

Share this post

Link to post
Share on other sites
I''ve not done any multi-monitor stuff before, but I''ll give it a shot:
- You''ve created both devices from the same object?
- Both devices have the same focus window?
- Have you checked the docs on the D3DCREATE_ADAPTERGROUP_DEVICE flag?

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!