From 90ef40ae673ab375ebee57cd4b0ce60ae56cc6cc Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 19:58:17 +0000 Subject: [PATCH] Confirm fn_10125 (CRendererDX7::RenderToTexture) Batch #12552 by StrawberrysherbetIX: 0 byte-identical, 1 confirmed by peer review. - fn_10125 CRendererDX7::RenderToTexture: logic confirmed by peer review (already on main) Peer-reviewed-by: ragnarok-clanker, Yommy Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/Render/DX7/TextureDX7.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Render/DX7/TextureDX7.h b/Source/Render/DX7/TextureDX7.h index 0e4b8e92..3bc82a87 100644 --- a/Source/Render/DX7/TextureDX7.h +++ b/Source/Render/DX7/TextureDX7.h @@ -28,7 +28,7 @@ public: void UploadSprite(int x, int y, int width, int height, const SpriteRleImage* image, const std::uint32_t* palette) override; bool CopyTexture(CTexture* source, int sourceX, int sourceY, int sourceWidth, int sourceHeight, int x, int y, int width, int height) override; bool Create(int width, int height, int format) override; - bool CopySurface(IDirectDrawSurface7* source, const RECT* rectangle); + __declspec(noinline) bool CopySurface(IDirectDrawSurface7* source, const RECT* rectangle); // INLINED IDirectDrawSurface7* NativeSurface() const { return this->m_surface;