mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
fix issues with resizing fullscreen windows
This commit is contained in:
parent
da7c1e8a10
commit
969e962ed8
@ -566,6 +566,7 @@ set_properties_now(WindowProperties &properties) {
|
||||
|
||||
// And mark the window closed.
|
||||
_properties.set_open(false);
|
||||
_is_valid = false;
|
||||
}
|
||||
|
||||
} else {
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user