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
2c8d4f5a
Commit
2c8d4f5a
authored
Mar 10, 2024
by
Andrew Nguyen
Committed by
Alexandre Julliard
Mar 12, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Reserve extra space in the reference device description buffer.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=56367
parent
e42afe7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
ddraw.c
dlls/ddraw/ddraw.c
+4
-1
No files found.
dlls/ddraw/ddraw.c
View file @
2c8d4f5a
...
...
@@ -3868,7 +3868,10 @@ static HRESULT WINAPI d3d3_EnumDevices(IDirect3D3 *iface, LPD3DENUMDEVICESCALLBA
* never have POW2 unset in d3d7 on windows. */
if
(
ddraw
->
d3dversion
!=
1
)
{
static
CHAR
reference_description
[]
=
"RGB Direct3D emulation"
;
/* Tomb Raider 3 overwrites the reference device description buffer
* with its own custom string. Reserve some extra space in the array
* to avoid a buffer overrun. */
static
CHAR
reference_description
[
64
]
=
"RGB Direct3D emulation"
;
TRACE
(
"Enumerating WineD3D D3DDevice interface.
\n
"
);
hal_desc
=
device_desc1
;
...
...
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