diff options
author | Aki <please@ignore.pl> | 2022-01-30 17:41:24 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-01-30 17:41:24 +0100 |
commit | 51657e10769faa2617d546a06c42e4c62a19bb50 (patch) | |
tree | 688ad8b61ac02e50974684b9b7d3f886fb469e5f /Stars45/D3DXImage.cpp | |
parent | db987e23d5dd33a5db8764743facbb906ac22b0f (diff) | |
download | starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2 |
Removed trailing whitespace all over the place
Diffstat (limited to 'Stars45/D3DXImage.cpp')
-rw-r--r-- | Stars45/D3DXImage.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
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); |