浏览代码

fix errmsg

georges 25 年之前
父节点
当前提交
13888334e5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      panda/src/dxgsg/dxTextureContext.cxx

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

@@ -264,7 +264,7 @@ CreateTexture( HDC hdc, LPDIRECT3DDEVICE7 pd3dDevice, int cNumTexPixFmts, LPDDPI
     if((dwOrigWidth>ddDesc.dwMaxTextureWidth)||(dwOrigHeight>ddDesc.dwMaxTextureHeight)) {
         #ifdef _DEBUG
          dxgsg_cat.error() << "WARNING: " <<_tex->get_name() << ": Image size exceeds max texture dimensions of (" << ddDesc.dwMaxTextureWidth << "," << ddDesc.dwMaxTextureHeight << ") !!\n" 
-                           << "Scaling "<< _tex->get_name() << " ("<< dwOrigWidth<<"," <<dwOrigHeight << ") => ("<< ddsd.dwWidth<<"," << ddsd.dwHeight << ")\n";
+                           << "Scaling "<< _tex->get_name() << " ("<< dwOrigWidth<<"," <<dwOrigHeight << ") => ("<<  ddDesc.dwMaxTextureWidth << "," << ddDesc.dwMaxTextureHeight << ") !\n";
         #endif
         
          if(dwOrigWidth>ddDesc.dwMaxTextureWidth)