DXGL r458 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r457
|
r458
|
r459
>
Date:
00:56, 5 July 2014
Author:
admin
Status:
new
Tags:
Comment:
Do not allow BltFast when a clipper is attached, per MSDN documentation.
Modified paths:
/ddraw/glDirectDrawSurface.cpp
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glDirectDrawSurface.cpp
—
—
@@ -653,6 +653,7 @@
654
654
{
655
655
TRACE_ENTER(6,14,this,8,dwX,8,dwY,14,lpDDSrcSurface,26,lpSrcRect,9,dwTrans);
656
656
if(!this) TRACE_RET(HRESULT,23,DDERR_INVALIDOBJECT);
657
+ if (clipper) TRACE_RET(HRESULT,23,DDERR_UNSUPPORTED);
657
658
DDSURFACEDESC2 ddsd;
658
659
ddsd.dwSize = sizeof(DDSURFACEDESC2);
659
660
lpDDSrcSurface->GetSurfaceDesc(&ddsd);
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