Sweden-Number/dlls/user32
Zhiyi Zhang 8fad0b146d gdi32: Report real VREFRESH values for GetDeviceCaps() with display DCs.
Even though MSDN says 0 and 1 are both valid and they represent the default refresh rate of display
hardware. Some games rely on the value being the real refresh rate and use it to cap frame rates.

Fix an issue that Sakuna: Of Rice and Ruin reports monitors of 1Hz and cap to 1fps.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-27 21:12:06 +01:00
..
resources
tests gdi32: Report real VREFRESH values for GetDeviceCaps() with display DCs. 2021-01-27 21:12:06 +01:00
Makefile.in
button.c
caret.c
class.c
clipboard.c
combo.c
controls.h
cursoricon.c
dde_client.c
dde_misc.c
dde_private.h
dde_server.c
defdlg.c
defwnd.c
desktop.c
dialog.c user32: Send WM_CANCELMODE to the current capture window after initializing a modal dialog. 2021-01-07 21:20:58 +01:00
driver.c
edit.c
exticon.c
focus.c
hook.c
icontitle.c
input.c
listbox.c
lstr.c
mdi.c
menu.c
message.c
misc.c
msgbox.c
nonclient.c
painting.c
png.c
property.c
rawinput.c
resource.c
resources.h
scroll.c
spy.c
static.c
sysparams.c user32: Add stub for SetDisplayConfig(). 2020-12-29 21:08:52 +01:00
text.c
uitools.c
user32.rc
user32.spec user32: Add stub for SetDisplayConfig(). 2020-12-29 21:08:52 +01:00
user_main.c
user_private.h
win.c
win.h
winhelp.c
winpos.c
winproc.c
winstation.c
wsprintf.c