Commit db5d5f66 by nduca@chromium.org

Fix crlf newlines in surface.cpp

TBR=apatrick@chromium.org git-svn-id: https://angleproject.googlecode.com/svn/trunk@686 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 3b3c1d43
#define MAJOR_VERSION 0 #define MAJOR_VERSION 0
#define MINOR_VERSION 0 #define MINOR_VERSION 0
#define BUILD_VERSION 0 #define BUILD_VERSION 0
#define BUILD_REVISION 684 #define BUILD_REVISION 686
#define STRINGIFY(x) #x #define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x) #define MACRO_STRINGIFY(x) STRINGIFY(x)
......
...@@ -167,15 +167,15 @@ bool Surface::resetSwapChain(int backbufferWidth, int backbufferHeight) ...@@ -167,15 +167,15 @@ bool Surface::resetSwapChain(int backbufferWidth, int backbufferHeight)
bool useFlipEx = (LOWORD(GetVersion()) >= 0x61) && mDisplay->isD3d9ExDevice(); bool useFlipEx = (LOWORD(GetVersion()) >= 0x61) && mDisplay->isD3d9ExDevice();
// FlipEx causes unseemly stretching when resizing windows AND when one // FlipEx causes unseemly stretching when resizing windows AND when one
// draws outside of the WM_PAINT callback. While this is seldom a problem in // draws outside of the WM_PAINT callback. While this is seldom a problem in
// single process applications, it is particuarly noticeable in multiprocess // single process applications, it is particuarly noticeable in multiprocess
// applications. Therefore, if the creator process of our window is not in // applications. Therefore, if the creator process of our window is not in
// the current process, disable use of FlipEx. // the current process, disable use of FlipEx.
DWORD windowPID; DWORD windowPID;
GetWindowThreadProcessId(mWindow, &windowPID); GetWindowThreadProcessId(mWindow, &windowPID);
if(windowPID != GetCurrentProcessId()) if(windowPID != GetCurrentProcessId())
useFlipEx = false; useFlipEx = false;
presentParameters.AutoDepthStencilFormat = mConfig->mDepthStencilFormat; presentParameters.AutoDepthStencilFormat = mConfig->mDepthStencilFormat;
// We set BackBufferCount = 1 even when we use D3DSWAPEFFECT_FLIPEX. // We set BackBufferCount = 1 even when we use D3DSWAPEFFECT_FLIPEX.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment