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
cf38e4c9
Commit
cf38e4c9
authored
Apr 20, 2008
by
Jens Albretsen
Committed by
Alexandre Julliard
Apr 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Fixed device name.
parent
c0a3ac50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
direct3d.c
dlls/ddraw/direct3d.c
+3
-1
No files found.
dlls/ddraw/direct3d.c
View file @
cf38e4c9
...
...
@@ -310,7 +310,7 @@ IDirect3DImpl_3_EnumDevices(IDirect3D3 *iface,
/* Some games (Motoracer 2 demo) have the bad idea to modify the device name string.
Let's put the string in a sufficiently sized array in writable memory. */
char
device_name
[
50
];
strcpy
(
device_name
,
"
direct3d
"
);
strcpy
(
device_name
,
"
Direct3D HEL
"
);
TRACE
(
"(%p)->(%p,%p)
\n
"
,
This
,
Callback
,
Context
);
EnterCriticalSection
(
&
ddraw_cs
);
...
...
@@ -359,6 +359,8 @@ IDirect3DImpl_3_EnumDevices(IDirect3D3 *iface,
}
}
strcpy
(
device_name
,
"Direct3D HAL"
);
TRACE
(
"(%p) Enumerating HAL Direct3D device
\n
"
,
This
);
d1
=
dref
;
d2
=
dref
;
...
...
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