Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5d08f3b7
Commit
5d08f3b7
authored
Mar 29, 2009
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Mar 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Check for the presence of wglGetExtensionsStringARB.
parent
74e0072d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
directx.c
dlls/wined3d/directx.c
+4
-2
No files found.
dlls/wined3d/directx.c
View file @
5d08f3b7
...
...
@@ -1405,12 +1405,14 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
/* Make sure there's an active HDC else the WGL extensions will fail */
hdc
=
pwglGetCurrentDC
();
if
(
hdc
)
{
WGL_Extensions
=
GL_EXTCALL
(
wglGetExtensionsStringARB
(
hdc
));
TRACE_
(
d3d_caps
)(
"WGL_Extensions reported:
\n
"
);
/* Not all GL drivers might offer WGL extensions e.g. VirtualBox */
if
(
GL_EXTCALL
(
wglGetExtensionsStringARB
))
WGL_Extensions
=
GL_EXTCALL
(
wglGetExtensionsStringARB
(
hdc
));
if
(
NULL
==
WGL_Extensions
)
{
ERR
(
" WGL_Extensions returns NULL
\n
"
);
}
else
{
TRACE_
(
d3d_caps
)(
"WGL_Extensions reported:
\n
"
);
while
(
*
WGL_Extensions
!=
0x00
)
{
const
char
*
Start
;
char
ThisExtn
[
256
];
...
...
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