mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
single gsg multiple windows: all known bug fixed
This commit is contained in:
parent
60fcb96b59
commit
8701ff8346
@ -774,11 +774,13 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case WM_CLOSE:
|
case WM_CLOSE:
|
||||||
GraphicsWindow::close_window();
|
//GraphicsWindow::close_window(); //M.A. changed to the following line
|
||||||
|
close_window();
|
||||||
properties.set_open(false);
|
properties.set_open(false);
|
||||||
system_changed_properties(properties);
|
system_changed_properties(properties);
|
||||||
|
|
||||||
// TODO: make sure we release the GSG properly.
|
// TODO: make sure we release the GSG properly.
|
||||||
|
windisplay_cat.debug() << "ta ta" << endl;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_ACTIVATE:
|
case WM_ACTIVATE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user