add resize dbg spew

This commit is contained in:
cxgeorge 2002-01-03 03:40:00 +00:00
parent c4c936152e
commit 2e0885688e

View File

@ -1073,10 +1073,10 @@ BOOL WINAPI DriverEnumCallback( GUID* pGUID, TCHAR* strDesc,TCHAR* strName,
}
void wdxGraphicsWindow::resize(unsigned int xsize,unsigned int ysize) {
if(wdxdisplay_cat.is_debug())
wdxdisplay_cat.debug() << "resize("<<xsize<<","<<ysize<<") called\n";
if (!_props._fullscreen) {
if(wdxdisplay_cat.is_debug())
wdxdisplay_cat.debug() << "resize("<<xsize<<","<<ysize<<") called\n";
// is this enough?
SetWindowPos(_mwindow, NULL, 0,0, xsize, ysize, SWP_NOZORDER | SWP_NOMOVE | SWP_NOSENDCHANGING);
// WM_ERASEBKGND will be ignored, because _WindowAdjustingType!=NotAdjusting because
@ -1090,6 +1090,9 @@ void wdxGraphicsWindow::resize(unsigned int xsize,unsigned int ysize) {
return;
}
if(wdxdisplay_cat.is_info())
wdxdisplay_cat.info() << "resize("<<xsize<<","<<ysize<<") called\n";
_dxgsg->SetDXReady(false);
HRESULT hr;