Преглед на файлове

remove erroneous assertion

cxgeorge преди 24 години
родител
ревизия
3e8c2525bf
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      panda/src/dxgsg/dxTextureContext.cxx

+ 0 - 2
panda/src/dxgsg/dxTextureContext.cxx

@@ -1137,8 +1137,6 @@ CreateTexture(LPDIRECT3DDEVICE7 pd3dDevice, int cNumTexPixFmts, LPDDPIXELFORMAT
         }
         }
     }
     }
 
 
-    assert((cNumColorChannels!=3)==(cNumAlphaBits>0));  // 3 channel w/alpha makes no sense
-
     // handle each bitdepth separately
     // handle each bitdepth separately
 
 
     switch(bpp) {  // bpp is REQUESTED bpp, not what exists in the pixbuf array
     switch(bpp) {  // bpp is REQUESTED bpp, not what exists in the pixbuf array