question

70700090 avatar image
0 Votes"
70700090 asked RitaHan-MSFT edited

Refresh rate of directx Window was limited to main screen, but I have a higher rate second screen

Refresh rate of directx Window was limited to main screen, but I have a higher rate second screen,
I have a 240Hz second screen, and a 60Hz main screen.
and my program is based on C++, using directx to show some high refresh rate graphics.

the window was created by CreateWindowW, and I tryed many different styles, no help to the refresh rate.
Only if I change the 240Hz screen into main screen, the program will correctly show 240Hz graphics.
even I let the directx immediatly exchange the buffer, which means that the GPU send 7000+frames to windows, but the picture still change 60 times per second.
what should I do? If I want the 60Hz screen still be the main Screen, and the program refresh 240Hz correctly?

windows-api
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

You can check Variable refresh rate displays to see if it helps.


0 Votes 0 ·

0 Answers