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
b7649efb
Commit
b7649efb
authored
Apr 02, 2013
by
Jérôme Gardou
Committed by
Alexandre Julliard
Apr 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Initialize adapter device name even if opengl is not used.
parent
e891fe4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
directx.c
dlls/wined3d/directx.c
+7
-0
No files found.
dlls/wined3d/directx.c
View file @
b7649efb
...
...
@@ -5237,6 +5237,8 @@ static BOOL wined3d_adapter_init(struct wined3d_adapter *adapter, UINT ordinal)
static
void
wined3d_adapter_init_nogl
(
struct
wined3d_adapter
*
adapter
,
UINT
ordinal
)
{
DISPLAY_DEVICEW
display_device
;
memset
(
adapter
,
0
,
sizeof
(
*
adapter
));
adapter
->
ordinal
=
ordinal
;
adapter
->
monitorPoint
.
x
=
-
1
;
...
...
@@ -5254,6 +5256,11 @@ static void wined3d_adapter_init_nogl(struct wined3d_adapter *adapter, UINT ordi
adapter
->
fragment_pipe
=
&
none_fragment_pipe
;
adapter
->
shader_backend
=
&
none_shader_backend
;
adapter
->
blitter
=
&
cpu_blit
;
display_device
.
cb
=
sizeof
(
display_device
);
EnumDisplayDevicesW
(
NULL
,
ordinal
,
&
display_device
,
0
);
TRACE
(
"DeviceName: %s
\n
"
,
debugstr_w
(
display_device
.
DeviceName
));
strcpyW
(
adapter
->
DeviceName
,
display_device
.
DeviceName
);
}
static
void
STDMETHODCALLTYPE
wined3d_null_wined3d_object_destroyed
(
void
*
parent
)
{}
...
...
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