Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
d152e792
Commit
d152e792
authored
May 17, 2021
by
Deucе
👌🏾
Browse files
Use xp_dlsym() correctly.
parent
8a6d6bae
Pipeline
#2224
passed with stage
in 8 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/conio/sdlfuncs.c
src/conio/sdlfuncs.c
+2
-2
No files found.
src/conio/sdlfuncs.c
View file @
d152e792
...
@@ -251,7 +251,7 @@ int init_sdl_video(void)
...
@@ -251,7 +251,7 @@ int init_sdl_video(void)
if
(
userDLL
)
if
(
userDLL
)
{
{
SetProcessDPIAware
=
xp_dlsym
(
userDLL
,
"
SetProcessDPIAware
"
);
SetProcessDPIAware
=
xp_dlsym
(
userDLL
,
SetProcessDPIAware
);
}
}
...
@@ -260,7 +260,7 @@ int init_sdl_video(void)
...
@@ -260,7 +260,7 @@ int init_sdl_video(void)
if
(
shcoreDLL
)
if
(
shcoreDLL
)
{
{
SetProcessDpiAwareness
=
xp_dlsym
(
shcoreDLL
,
"
SetProcessDpiAwareness
"
);
SetProcessDpiAwareness
=
xp_dlsym
(
shcoreDLL
,
SetProcessDpiAwareness
);
}
}
if
(
SetProcessDpiAwareness
)
{
if
(
SetProcessDpiAwareness
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment