diff Render.cpp @ 1578:56cc81b1ed49

workaround for crash on startup fixes for logs
author Beri Levi berilevi@gmail.com
date Tue, 10 Sep 2013 19:33:21 +0300
parents 2d9c8f609a3c
children cff02d7d3460
line wrap: on
line diff
--- a/Render.cpp	Mon Sep 09 20:09:01 2013 +0200
+++ b/Render.cpp	Tue Sep 10 19:33:21 2013 +0300
@@ -6453,7 +6453,7 @@
       Error("HiScreen16::LoadTexture - D3Drend->CreateTexture() failed: %x", 0);
     //v10 = *pOutSurface;
     //v11 = 0;
-    if ( bMipMaps )
+    if (bMipMaps)
     {
       Dst._450DDE();
       //v20 = 0;
@@ -6472,7 +6472,7 @@
 
         if ( LockSurface_DDraw4(pNextSurf, &desc, DDLOCK_WAIT | DDLOCK_WRITEONLY) )
         {
-          Dst.sub_451007_scale_image_bicubic(
+          /*Dst.sub_451007_scale_image_bicubic(
             pHWLTexture->pPixels,
             pHWLTexture->uWidth,
             pHWLTexture->uHeight,
@@ -6482,7 +6482,7 @@
             desc.dwHeight,
             desc.lPitch >> 1,
             0,
-            0);
+            0);*/
           ErrD3D(pNextSurf->Unlock(0));
           //bMipMaps = 0x4D86ACu;
         }