DXGL r126 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r125‎ | r126 | r127 >
Date:01:06, 15 March 2012
Author:admin
Status:new
Tags:
Comment:
Oops.
Modified paths:
  • /ddraw/glDirectDraw.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirectDraw.cpp
@@ -1357,9 +1357,10 @@
13581358 }
13591359 HRESULT WINAPI glDirectDraw7::TestCooperativeLevel()
13601360 {
1361 - if(!this) return DDERR_INVALIDOBJECT;
 1361+ return DD_OK;
 1362+ /*if(!this) return DDERR_INVALIDOBJECT;
13621363 if(fullscreen) return DDERR_EXCLUSIVEMODEALREADYSET;
1363 - return DDERR_NOEXCLUSIVEMODE;
 1364+ return DDERR_NOEXCLUSIVEMODE;*/
13641365 }
13651366 HRESULT WINAPI glDirectDraw7::GetDeviceIdentifier(LPDDDEVICEIDENTIFIER2 lpdddi, DWORD dwFlags)
13661367 {