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
00577aa6
Commit
00577aa6
authored
Jan 16, 2006
by
Lionel Ulmer
Committed by
Alexandre Julliard
Jan 16, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Better simulate what 'GetVerticalBlankStatus' does on real hardware.
parent
f87efbd1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
ddraw_main.c
dlls/ddraw/ddraw_main.c
+2
-1
ddraw_private.h
dlls/ddraw/ddraw_private.h
+2
-0
No files found.
dlls/ddraw/ddraw_main.c
View file @
00577aa6
...
...
@@ -1067,7 +1067,8 @@ Main_DirectDraw_GetVerticalBlankStatus(LPDIRECTDRAW7 iface, LPBOOL status)
{
IDirectDrawImpl
*
This
=
(
IDirectDrawImpl
*
)
iface
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
status
);
*
status
=
TRUE
;
*
status
=
This
->
fake_vblank
;
This
->
fake_vblank
=
!
This
->
fake_vblank
;
return
DD_OK
;
}
...
...
dlls/ddraw/ddraw_private.h
View file @
00577aa6
...
...
@@ -114,6 +114,8 @@ struct IDirectDrawImpl
DDPIXELFORMAT
pixelformat
;
DWORD
cur_scanline
;
BOOL
fake_vblank
;
/* Should each of these go into some structure? */
DWORD
orig_width
,
orig_height
;
LONG
orig_pitch
;
...
...
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