DXGL r426 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r425
|
r426
|
r427
>
Date:
13:42, 13 April 2014
Author:
admin
Status:
new
Tags:
Comment:
Partial support for GetBltStatus.
Modified paths:
/ddraw/glDirectDrawSurface.cpp
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glDirectDrawSurface.cpp
—
—
@@ -833,9 +833,10 @@
834
834
{
835
835
TRACE_ENTER(2,14,this,9,dwFlags);
836
836
if(!this) TRACE_RET(HRESULT,23,DDERR_INVALIDOBJECT);
837
- FIXME("glDirectDrawSurface7::GetBltStatus: stub\n");
838
- TRACE_EXIT(23,DDERR_GENERIC);
839
- ERR(DDERR_GENERIC);
837
+ HRESULT islost = this->IsLost();
838
+ if (islost == DDERR_SURFACELOST) return DDERR_SURFACELOST;
839
+ // Async rendering not yet implemented
840
+ return DD_OK;
840
841
}
841
842
HRESULT WINAPI glDirectDrawSurface7::GetCaps(LPDDSCAPS2 lpDDSCaps)
842
843
{
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