This commit is contained in:
cxgeorge 2002-03-13 01:02:31 +00:00
parent f0e87fc1eb
commit 4ddf472bf8

View File

@ -1294,7 +1294,7 @@ IDirect3DTexture8 *DXTextureContext::CreateTexture(DXScreenData &scrn) {
}
case 8:
if(bNeedLuminance) {
assert(cNumAlphaBits>0); // dont bother handling those other 8bit lum fmts like 4-4, since 16 8-8 is usually supported too
// dont bother handling those other 8bit lum fmts like 4-4, since 16 8-8 is usually supported too
assert(cNumColorChannels==1);
// look for native lum fmt first
@ -1454,7 +1454,7 @@ IDirect3DTexture8 *DXTextureContext::CreateTexture(DXScreenData &scrn) {
#ifdef DO_CUSTOM_CONVERSIONS
dxgsg_cat.debug() << "CreateTexture: "<< _tex->get_name() <<" converting " << ConvNameStrs[ConvNeeded] << " \n";
#else
dxgsg_cat.debug() << "CreateTexture: "<< _tex->get_name() <<" converting " << D3DFormatStr(_PixBufD3DFmt) << " => " << D3DFormatStr(TargetPixFmt) << endl;
dxgsg_cat.debug() << "CreateTexture: "<< _tex->get_name() <<" converting panda equivalent of " << D3DFormatStr(_PixBufD3DFmt) << " => " << D3DFormatStr(TargetPixFmt) << endl;
#endif
#endif