Skip to content
Snippets Groups Projects
Commit d152e792 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Use xp_dlsym() correctly.

parent 8a6d6bae
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2224 passed
......@@ -251,7 +251,7 @@ int init_sdl_video(void)
if (userDLL)
{
SetProcessDPIAware = xp_dlsym(userDLL, "SetProcessDPIAware");
SetProcessDPIAware = xp_dlsym(userDLL, SetProcessDPIAware);
}
......@@ -260,7 +260,7 @@ int init_sdl_video(void)
if (shcoreDLL)
{
SetProcessDpiAwareness = xp_dlsym(shcoreDLL, "SetProcessDpiAwareness");
SetProcessDpiAwareness = xp_dlsym(shcoreDLL, SetProcessDpiAwareness);
}
if (SetProcessDpiAwareness) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment