comparison Render.cpp @ 15:e33334611747

Merge
author Nomad
date Sat, 13 Oct 2012 17:10:23 +0200
parents 17150bdf321e
children 74940016abc8 77de07f99e03
comparison
equal deleted inserted replaced
14:b47e9c80e741 15:e33334611747
6981 IDirectDrawSurface *pFront; // eax@3 6981 IDirectDrawSurface *pFront; // eax@3
6982 HRESULT v6; // eax@5 6982 HRESULT v6; // eax@5
6983 int v7; // [sp-8h] [bp-8h]@3 6983 int v7; // [sp-8h] [bp-8h]@3
6984 unsigned int v8; // [sp-4h] [bp-4h]@3 6984 unsigned int v8; // [sp-4h] [bp-4h]@3
6985 6985
6986 if ( pVersion->pVersionInfo.dwPlatformId != VER_PLATFORM_WIN32_NT || pVersion->pVersionInfo.dwMajorVersion != 4 ) 6986 if ( pVersion->pVersionInfo.dwPlatformId != VER_PLATFORM_WIN32_NT || pVersion->pVersionInfo.dwMajorVersion >= 5u )
6987 ErrD3D(pFrontBuffer4->Blt(pDstRect, (IDirectDrawSurface4 *)pSrcSurface, pSrcRect, uBltFlags, nullptr)); 6987 ErrD3D(pFrontBuffer4->Blt(pDstRect, (IDirectDrawSurface4 *)pSrcSurface, pSrcRect, uBltFlags, nullptr));
6988 else 6988 else
6989 ErrD3D(pFrontBuffer2->Blt(pDstRect, (IDirectDrawSurface2 *)pSrcSurface, pSrcRect, uBltFlags, nullptr)); 6989 ErrD3D(pFrontBuffer2->Blt(pDstRect, (IDirectDrawSurface2 *)pSrcSurface, pSrcRect, uBltFlags, nullptr));
6990 } 6990 }
6991 6991