Commit d152e792 authored by Deucе's avatar Deucе 👌🏾
Browse files

Use xp_dlsym() correctly.

parent 8a6d6bae
Pipeline #2224 passed with stage
in 8 minutes and 7 seconds
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment