From 0fa8e2347561e51e2bb90c629664b0044b459df0 Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Sun, 29 Nov 2020 21:04:11 -0600 Subject: [PATCH] adress #385 --- Engine/source/gfx/gfxTextureManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/gfx/gfxTextureManager.cpp b/Engine/source/gfx/gfxTextureManager.cpp index ba84dc9d5..6bd027028 100644 --- a/Engine/source/gfx/gfxTextureManager.cpp +++ b/Engine/source/gfx/gfxTextureManager.cpp @@ -1199,7 +1199,7 @@ GFXTextureObject *GFXTextureManager::createCompositeTexture(GBitmap*bmp[4], U32 if (bmp[0]) rChan = bmp[0]->getChanelValueAt(x, y, inputKey[0]); else - gChan = 255; + rChan = 255; if (bmp[1]) gChan = bmp[1]->getChanelValueAt(x, y, inputKey[1]);