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