DXGL r43 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r42
|
r43
|
r44
>
Date:
01:31, 25 December 2011
Author:
admin
Status:
new
Tags:
Comment:
Remove DDSD_CAPS validation on surface creation. Adds compatibility with Lands of Lore: Guardians of Destiny.
Modified paths:
/ddraw/glDirectDrawSurface.cpp
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glDirectDrawSurface.cpp
—
—
@@ -148,11 +148,6 @@
149
149
}
150
150
LONG sizes[6];
151
151
ddInterface->GetSizes(sizes);
152
- if(!(ddsd.dwFlags & DDSD_CAPS))
153
- {
154
- *error = DDERR_INVALIDPARAMS;
155
- return;
156
- }
157
152
if(ddsd.ddsCaps.dwCaps & DDSCAPS_PRIMARYSURFACE)
158
153
{
159
154
if(((ddsd.dwFlags & DDSD_WIDTH) || (ddsd.dwFlags & DDSD_HEIGHT)
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