Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e44f8eaa
Commit
e44f8eaa
authored
Dec 10, 2015
by
Sebastian Lackner
Committed by
Alexandre Julliard
Dec 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32: Store alternative function in wglGetProcAddress.
Signed-off-by:
Sebastian Lackner
<
sebastian@fds-team.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d29dcec6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
wgl.c
dlls/opengl32/wgl.c
+6
-6
No files found.
dlls/opengl32/wgl.c
View file @
e44f8eaa
...
...
@@ -884,15 +884,15 @@ PROC WINAPI wglGetProcAddress( LPCSTR name )
{
"glCopyTexSubImage3DEXT"
,
"glCopyTexSubImage3D"
},
/* needed by RuneScape */
};
for
(
i
=
0
;
i
<
sizeof
(
alternatives
)
/
sizeof
(
alternatives
[
0
]);
i
++
)
WARN
(
"Extension %s required for %s not supported
\n
"
,
ext_ret
->
extension
,
name
);
driver_func
=
NULL
;
for
(
i
=
0
;
i
<
sizeof
(
alternatives
)
/
sizeof
(
alternatives
[
0
])
&&
!
driver_func
;
i
++
)
{
if
(
strcmp
(
name
,
alternatives
[
i
].
name
))
continue
;
WARN
(
"Extension %s required for %s not supported, trying %s
\n
"
,
ext_ret
->
extension
,
name
,
alternatives
[
i
].
alt
);
return
wglGetProcAddress
(
alternatives
[
i
].
alt
);
WARN
(
"Trying alternative %s for %s
\n
"
,
alternatives
[
i
].
alt
,
name
);
driver_func
=
wglGetProcAddress
(
alternatives
[
i
].
alt
);
}
WARN
(
"Extension %s required for %s not supported
\n
"
,
ext_ret
->
extension
,
name
);
return
NULL
;
}
if
(
driver_func
==
NULL
)
...
...
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