From e9015f2d3d7fadfe03a45c3c50babbffee5cb631 Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Tue, 29 Oct 2002 03:53:21 +0000 Subject: [PATCH] fix bug in 8bpp alpha texture conversion --- panda/src/dxgsg8/dxTextureContext8.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/dxgsg8/dxTextureContext8.cxx b/panda/src/dxgsg8/dxTextureContext8.cxx index d1aa0e9693..79c14beb3b 100644 --- a/panda/src/dxgsg8/dxTextureContext8.cxx +++ b/panda/src/dxgsg8/dxTextureContext8.cxx @@ -1289,7 +1289,7 @@ IDirect3DTexture8 *DXTextureContext::CreateTexture(DXScreenData &scrn) { CHECK_FOR_FMT(A8R8G8B8,ConvAlpha8to32); } - CHECK_FOR_FMT(A8L8,ConvAlpha8to16_4444); + CHECK_FOR_FMT(A4R4G4B4,ConvAlpha8to16_4444); } break;