Browse Source

undo last chng, it didnt help anything

cxgeorge 24 years ago
parent
commit
dea468ddfb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/dxgsg/dxTextureContext.cxx

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

@@ -1669,6 +1669,7 @@ FillDDSurfTexturePixels(void) {
             DWORD src_row_bytelength=oldcurxsize*cPixelSize;
             DWORD src_row_bytelength=oldcurxsize*cPixelSize;
             DWORD two_src_row_bytelength=2*src_row_bytelength;
             DWORD two_src_row_bytelength=2*src_row_bytelength;
 
 
+        #define GENMIPMAP_DO_INTEGER_DIV    // should be a little faster, but no rounding up
         #ifdef GENMIPMAP_DO_INTEGER_DIV
         #ifdef GENMIPMAP_DO_INTEGER_DIV
             DWORD DivShift=2;
             DWORD DivShift=2;
             if((oldcurxsize==1)||(oldcurysize==1))
             if((oldcurxsize==1)||(oldcurysize==1))