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
73a03274
Commit
73a03274
authored
Sep 11, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Avoid LPBYTE.
parent
87ef65ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ddraw_private.h
dlls/ddraw/ddraw_private.h
+1
-1
main.c
dlls/ddraw/main.c
+1
-1
No files found.
dlls/ddraw/ddraw_private.h
View file @
73a03274
...
...
@@ -306,7 +306,7 @@ struct d3d_device
DWORD
vertex_type
;
DWORD
render_flags
;
DWORD
nb_vertices
;
LPBYTE
sysmem_vertex_buffer
;
BYTE
*
sysmem_vertex_buffer
;
DWORD
vertex_size
;
DWORD
buffer_size
;
...
...
dlls/ddraw/main.c
View file @
73a03274
...
...
@@ -860,7 +860,7 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
DWORD
type
,
data
,
size
;
size
=
sizeof
(
data
);
if
(
!
RegQueryValueExA
(
hkey
,
"ForceRefreshRate"
,
NULL
,
&
type
,
(
LPBYTE
)
&
data
,
&
size
)
&&
type
==
REG_DWORD
)
if
(
!
RegQueryValueExA
(
hkey
,
"ForceRefreshRate"
,
NULL
,
&
type
,
(
BYTE
*
)
&
data
,
&
size
)
&&
type
==
REG_DWORD
)
{
TRACE
(
"ForceRefreshRate set; overriding refresh rate to %d Hz
\n
"
,
data
);
force_refresh_rate
=
data
;
...
...
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