From dea468ddfb1d18686482f424cc057e73d81d31f9 Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Fri, 29 Jun 2001 02:49:03 +0000 Subject: [PATCH] undo last chng, it didnt help anything --- panda/src/dxgsg/dxTextureContext.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/panda/src/dxgsg/dxTextureContext.cxx b/panda/src/dxgsg/dxTextureContext.cxx index dd1a700b8a..9b7b29cbd1 100644 --- a/panda/src/dxgsg/dxTextureContext.cxx +++ b/panda/src/dxgsg/dxTextureContext.cxx @@ -1669,6 +1669,7 @@ FillDDSurfTexturePixels(void) { DWORD src_row_bytelength=oldcurxsize*cPixelSize; 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 DWORD DivShift=2; if((oldcurxsize==1)||(oldcurysize==1))