diff Render.cpp @ 15:e33334611747

Merge
author Nomad
date Sat, 13 Oct 2012 17:10:23 +0200
parents 17150bdf321e
children 74940016abc8 77de07f99e03
line wrap: on
line diff
--- a/Render.cpp	Sat Oct 13 17:09:02 2012 +0200
+++ b/Render.cpp	Sat Oct 13 17:10:23 2012 +0200
@@ -6983,7 +6983,7 @@
   int v7; // [sp-8h] [bp-8h]@3
   unsigned int v8; // [sp-4h] [bp-4h]@3
 
-  if ( pVersion->pVersionInfo.dwPlatformId != VER_PLATFORM_WIN32_NT || pVersion->pVersionInfo.dwMajorVersion != 4 )
+  if ( pVersion->pVersionInfo.dwPlatformId != VER_PLATFORM_WIN32_NT || pVersion->pVersionInfo.dwMajorVersion >= 5u )
     ErrD3D(pFrontBuffer4->Blt(pDstRect, (IDirectDrawSurface4 *)pSrcSurface, pSrcRect, uBltFlags, nullptr));
   else
     ErrD3D(pFrontBuffer2->Blt(pDstRect, (IDirectDrawSurface2 *)pSrcSurface, pSrcRect, uBltFlags, nullptr));