DXGL r125 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r124
|
r125
|
r126
>
Date:
00:46, 15 March 2012
Author:
admin
Status:
new
Tags:
Comment:
Add TestCooperativeLevel
Modified paths:
/ddraw/glDirectDraw.cpp
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glDirectDraw.cpp
—
—
@@ -1357,9 +1357,9 @@
1358
1358
}
1359
1359
HRESULT WINAPI glDirectDraw7::TestCooperativeLevel()
1360
1360
{
1361
- if(!this) return DDERR_INVALIDPARAMS;
1362
- FIXME("IDirectDraw::TestCooperativeLevel: stub\n");
1363
- ERR(DDERR_GENERIC);
1361
+ if(!this) return DDERR_INVALIDOBJECT;
1362
+ if(fullscreen) return DDERR_EXCLUSIVEMODEALREADYSET;
1363
+ return DDERR_NOEXCLUSIVEMODE;
1364
1364
}
1365
1365
HRESULT WINAPI glDirectDraw7::GetDeviceIdentifier(LPDDDEVICEIDENTIFIER2 lpdddi, DWORD dwFlags)
1366
1366
{
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