DXGL r543 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r542
|
r543
|
r544
>
Date:
17:37, 21 September 2014
Author:
admin
Status:
new
Tags:
Comment:
Set surface dirty when unlocked, even when not already locked. Fixes FMV on Lands of Lore III.
Modified paths:
/ddraw/glDirectDrawSurface.cpp
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glDirectDrawSurface.cpp
—
—
@@ -1492,7 +1492,8 @@
1493
1493
{
1494
1494
TRACE_ENTER(2,14,this,26,lpRect);
1495
1495
if(!this) TRACE_RET(HRESULT,23,DDERR_INVALIDOBJECT);
1496
- if(!locked) TRACE_RET(HRESULT,23,DDERR_NOTLOCKED);
1496
+ dirty |= 1;
1497
+ if (!locked) TRACE_RET(HRESULT, 23, DDERR_NOTLOCKED);
1497
1498
locked--;
1498
1499
ddsd.lpSurface = NULL;
1499
1500
if(((ddsd.ddsCaps.dwCaps & (DDSCAPS_FRONTBUFFER)) &&
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version