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
1ce53bd2
Commit
1ce53bd2
authored
Dec 02, 2003
by
Daniel Skorka
Committed by
Alexandre Julliard
Dec 02, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a problem using glXGetProcAddresARB with bad OpenGL libs.
parent
5525cab2
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 @
1ce53bd2
...
...
@@ -671,12 +671,12 @@ static BOOL process_attach(void)
XFree
(
vis
);
LEAVE_GL
();
if
((
extensions
!=
NULL
)
&&
(
strstr
(
extensions
,
"GLX_ARB_get_proc_address"
)))
{
opengl_handle
=
wine_dlopen
(
SONAME_LIBGL
,
RTLD_NOW
|
RTLD_GLOBAL
,
NULL
,
0
);
if
(
opengl_handle
!=
NULL
)
{
p_glXGetProcAddressARB
=
wine_dlsym
(
opengl_handle
,
"glXGetProcAddressARB"
,
NULL
,
0
);
wine_dlclose
(
opengl_handle
,
NULL
,
0
);
}
opengl_handle
=
wine_dlopen
(
SONAME_LIBGL
,
RTLD_NOW
|
RTLD_GLOBAL
,
NULL
,
0
);
if
(
opengl_handle
!=
NULL
)
{
p_glXGetProcAddressARB
=
wine_dlsym
(
opengl_handle
,
"glXGetProcAddressARB"
,
NULL
,
0
);
wine_dlclose
(
opengl_handle
,
NULL
,
0
);
if
(
p_glXGetProcAddressARB
==
NULL
)
TRACE
(
"could not find glXGetProcAddressARB in libGL.
\n
"
);
}
if
(
default_cx
==
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