瀏覽代碼

workaround for build bug

David Rose 23 年之前
父節點
當前提交
fdce7c5d1d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      panda/src/wdxdisplay/wdxGraphicsWindow.cxx

+ 1 - 1
panda/src/wdxdisplay/wdxGraphicsWindow.cxx

@@ -1543,7 +1543,7 @@ bool wdxGraphicsWindow::resize(unsigned int xsize,unsigned int ysize) {
 // overrides of the general estimator for known working cases
 // overrides of the general estimator for known working cases
 bool wdxGraphicsWindow::
 bool wdxGraphicsWindow::
 special_check_fullscreen_resolution(UINT xsize,UINT ysize) {
 special_check_fullscreen_resolution(UINT xsize,UINT ysize) {
-    assert(IS_VALID_PTR(_dxgsg));
+    //assert(IS_VALID_PTR(_dxgsg));
 
 
     DWORD VendorId=_dxgsg->scrn.DXDeviceID.dwVendorId;
     DWORD VendorId=_dxgsg->scrn.DXDeviceID.dwVendorId;
     DWORD DeviceId=_dxgsg->scrn.DXDeviceID.dwDeviceId;
     DWORD DeviceId=_dxgsg->scrn.DXDeviceID.dwDeviceId;