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
093a034f
Commit
093a034f
authored
Jan 19, 2006
by
H. Verbeet
Committed by
Alexandre Julliard
Jan 19, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: In IWineD3DImpl_FillGLCaps use glGetString instead of
glXGetClientString to retrieve the OpenGL vendor.
parent
8430d43d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
directx.c
dlls/wined3d/directx.c
+2
-2
No files found.
dlls/wined3d/directx.c
View file @
093a034f
...
...
@@ -234,11 +234,11 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info, Display* display)
if
(
NULL
!=
display
)
{
test
=
glXQueryVersion
(
display
,
&
major
,
&
minor
);
gl_info
->
glx_version
=
((
major
&
0x0000FFFF
)
<<
16
)
|
(
minor
&
0x0000FFFF
);
gl_string
=
glXGetClientString
(
display
,
GLX_VENDOR
);
}
else
{
FIXME
(
"Display must not be NULL, use glXGetCurrentDisplay or getAdapterDisplay()
\n
"
);
gl_string
=
(
const
char
*
)
glGetString
(
GL_VENDOR
);
}
gl_string
=
(
const
char
*
)
glGetString
(
GL_VENDOR
);
TRACE_
(
d3d_caps
)(
"Filling vendor string %s
\n
"
,
gl_string
);
if
(
gl_string
!=
NULL
)
{
/* Fill in the GL vendor */
...
...
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