From 51657e10769faa2617d546a06c42e4c62a19bb50 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 30 Jan 2022 17:41:24 +0100 Subject: Removed trailing whitespace all over the place --- Stars45/D3DXImage.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'Stars45/D3DXImage.cpp') diff --git a/Stars45/D3DXImage.cpp b/Stars45/D3DXImage.cpp index 1947137..f2f7dd8 100644 --- a/Stars45/D3DXImage.cpp +++ b/Stars45/D3DXImage.cpp @@ -128,11 +128,11 @@ bool D3DXImage::LoadBuffer(BYTE* buf, int len) IDirect3DDevice9* dev = VideoDX9::GetD3DDevice9(); - hr = dev->CreateOffscreenPlainSurface( width, - height, - D3DFMT_A8R8G8B8, - D3DPOOL_SYSTEMMEM, - &surf, + hr = dev->CreateOffscreenPlainSurface( width, + height, + D3DFMT_A8R8G8B8, + D3DPOOL_SYSTEMMEM, + &surf, NULL); if (FAILED(hr)) @@ -194,11 +194,11 @@ bool D3DXImage::Save(char *filename) IDirect3DSurface9* surf = 0; IDirect3DDevice9* dev = VideoDX9::GetD3DDevice9(); - hr = dev->CreateOffscreenPlainSurface( width, - height, - D3DFMT_A8R8G8B8, - D3DPOOL_SYSTEMMEM, - &surf, + hr = dev->CreateOffscreenPlainSurface( width, + height, + D3DFMT_A8R8G8B8, + D3DPOOL_SYSTEMMEM, + &surf, NULL); -- cgit v1.1