From 51716f4d6edc89b099f0f6fdc16e64a33f096b24 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 14:23:56 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/AnmManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AnmManager.cpp b/src/AnmManager.cpp index be6e6f89..a041cf68 100644 --- a/src/AnmManager.cpp +++ b/src/AnmManager.cpp @@ -1680,8 +1680,8 @@ void AnmManager::DrawEndingRect(i32 surfaceIdx, i32 rectX, i32 rectY, i32 rectLe D3D_Surface->Release(); return; } - if (D3DXLoadSurfaceFromSurface(surfaces[surfaceIdx], NULL, NULL, surfacesBis[surfaceIdx], NULL, NULL, D3DX_FILTER_NONE, 0) != - D3D_OK) + if (D3DXLoadSurfaceFromSurface(surfaces[surfaceIdx], NULL, NULL, surfacesBis[surfaceIdx], NULL, NULL, + D3DX_FILTER_NONE, 0) != D3D_OK) { D3D_Surface->Release(); return;