fix issues with resizing fullscreen windows

This commit is contained in:
David Rose 2006-11-07 22:35:24 +00:00
parent da7c1e8a10
commit 969e962ed8
3 changed files with 9 additions and 0 deletions

View File

@ -566,6 +566,7 @@ set_properties_now(WindowProperties &properties) {
// And mark the window closed.
_properties.set_open(false);
_is_valid = false;
}
} else {

View File

@ -437,6 +437,10 @@ handle_reshape() {
////////////////////////////////////////////////////////////////////
bool wdxGraphicsWindow8::
do_fullscreen_resize(int x_size, int y_size) {
if (!WinGraphicsWindow::do_fullscreen_resize(x_size, y_size)) {
return false;
}
bool bCouldntFindValidZBuf;
D3DFORMAT pixFmt;
bool bNeedZBuffer = (_wcontext._presentation_params.EnableAutoDepthStencil != false);

View File

@ -436,6 +436,10 @@ handle_reshape() {
////////////////////////////////////////////////////////////////////
bool wdxGraphicsWindow9::
do_fullscreen_resize(int x_size, int y_size) {
if (!WinGraphicsWindow::do_fullscreen_resize(x_size, y_size)) {
return false;
}
bool bCouldntFindValidZBuf;
D3DFORMAT pixFmt;
bool bNeedZBuffer = (_wcontext._presentation_params.EnableAutoDepthStencil != false);