mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
x11 Window casting issues
This commit is contained in:
parent
ac0f84ace1
commit
d95404a8b2
@ -200,7 +200,7 @@ open_window() {
|
||||
if (!_properties.has_parent_window()) {
|
||||
root_window = glx_pipe->get_root();
|
||||
} else {
|
||||
root_window = (Window) (int) _properties.get_parent_window();
|
||||
root_window = (Window)_properties.get_parent_window();
|
||||
}
|
||||
|
||||
#ifdef HAVE_GLXFBCONFIG
|
||||
|
@ -515,7 +515,7 @@ open_window() {
|
||||
if (!_properties.has_parent_window()) {
|
||||
root_window = tinyx_pipe->get_root();
|
||||
} else {
|
||||
root_window = (Window) (int) _properties.get_parent_window();
|
||||
root_window = (Window)_properties.get_parent_window();
|
||||
}
|
||||
setup_colormap(visual_info);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user