CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2003
    Posts
    91

    direct3d createdevice question

    I have a direct3d question I hope someone here can help. When I use CreateDevice to initialize a LPDIRECT3D object I know I can use D3DADAPTER_DEFAULT to specify the primary adapter or use the device number for secondary displays. Is there some way that I can make it work no matter what display device it is on?

    I mean, If use D3DADAPTER_DEFAULT then it is only hardware accelerated on the primary display, if someone drags the window to the secondary display then it is not hardware accelerated over there and runs slowly eating up more cpu.

    Does anyone know a way to make sure it is hardware accelerated no matter what display it is dragged to?

    Thanks in advance!
    Greg

  2. #2
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652

    Re: direct3d createdevice question

    [ Moved thread ]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured