From 8b53bac3e333286925e56530c2a983a1c1ebfbbe Mon Sep 17 00:00:00 2001 From: Weiyi <131678005+Anglebase@users.noreply.github.com> Date: Sun, 22 Sep 2024 22:01:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3IMAGE::gentexture=E7=9A=84?= =?UTF-8?q?=E4=BC=9A=E5=BC=95=E5=8F=91=E6=A0=88=E6=BA=A2=E5=87=BA=E7=9A=84?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image.cpp b/src/image.cpp index 0bf9121..d896230 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -129,7 +129,7 @@ void IMAGE::gentexture(bool gen) } } else { if (m_texture != NULL) { - gentexture(true); + gentexture(false); } Gdiplus::Bitmap* bitmap = new Gdiplus::Bitmap(getwidth(), getheight(), getwidth() * 4, PixelFormat32bppARGB, (BYTE*)getbuffer());