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

Use xp_dlsym() correctly.

parent 290afc14
No related branches found
No related tags found
No related merge requests found
......@@ -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.
Finish editing this message first!
Please register or to comment