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
46ecb15c
Commit
46ecb15c
authored
Mar 05, 2006
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Mar 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fix retrieval of driver adapter versions.
parent
34636b02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
directx.c
dlls/wined3d/directx.c
+3
-0
No files found.
dlls/wined3d/directx.c
View file @
46ecb15c
...
...
@@ -1015,8 +1015,11 @@ HRESULT WINAPI IWineD3DImpl_GetAdapterIdentifier(IWineD3D *iface, UINT Adapter,
reuse the values once we have a context which is valid. Values from
a temporary context may differ from the final ones */
if
(
isGLInfoValid
==
FALSE
)
{
WineD3D_Context
*
fake_ctx
=
NULL
;
if
(
glXGetCurrentContext
()
==
NULL
)
fake_ctx
=
WineD3D_CreateFakeGLContext
();
/* If we don't know the device settings, go query them now */
isGLInfoValid
=
IWineD3DImpl_FillGLCaps
(
&
This
->
gl_info
,
IWineD3DImpl_GetAdapterDisplay
(
iface
,
Adapter
));
if
(
fake_ctx
!=
NULL
)
WineD3D_ReleaseFakeGLContext
(
fake_ctx
);
}
/* If it worked, return the information requested */
...
...
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