Browse Source

fix bug in 8bpp alpha texture conversion

cxgeorge 23 years ago
parent
commit
e9015f2d3d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/dxgsg8/dxTextureContext8.cxx

+ 1 - 1
panda/src/dxgsg8/dxTextureContext8.cxx

@@ -1289,7 +1289,7 @@ IDirect3DTexture8 *DXTextureContext::CreateTexture(DXScreenData &scrn) {
                     CHECK_FOR_FMT(A8R8G8B8,ConvAlpha8to32);
                     CHECK_FOR_FMT(A8R8G8B8,ConvAlpha8to32);
                 }
                 }
 
 
-                CHECK_FOR_FMT(A8L8,ConvAlpha8to16_4444);
+                CHECK_FOR_FMT(A4R4G4B4,ConvAlpha8to16_4444);
             }
             }
             break;
             break;