mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
Support for setParentWindow
This commit is contained in:
parent
77cfda8691
commit
09d15ccbcc
@ -648,7 +648,12 @@ open_window() {
|
||||
_properties.set_size(100, 100);
|
||||
}
|
||||
|
||||
Window root_window = glx_pipe->get_root();
|
||||
Window root_window;
|
||||
if (!_properties.has_parent_window()) {
|
||||
root_window = glx_pipe->get_root();
|
||||
} else {
|
||||
root_window = (Window) (int) _properties.get_parent_window();
|
||||
}
|
||||
|
||||
#ifdef HAVE_GLXFBCONFIG
|
||||
if (glxgsg->_fbconfig != None) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user