From ee47d35695c544b473c7a76b403d17624d57e7cf Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 29 Jul 2009 18:49:34 +0000 Subject: [PATCH] Window fix --- panda/src/egldisplay/eglGraphicsWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/egldisplay/eglGraphicsWindow.cxx b/panda/src/egldisplay/eglGraphicsWindow.cxx index ff3f62f1dc..799833920c 100644 --- a/panda/src/egldisplay/eglGraphicsWindow.cxx +++ b/panda/src/egldisplay/eglGraphicsWindow.cxx @@ -669,7 +669,7 @@ open_window() { if (!_properties.has_parent_window()) { root_window = egl_pipe->get_root(); } else { - root_window = (Window) (int) _properties.get_parent_window(); + root_window = (Window) _properties.get_parent_window(); } setup_colormap(visual_info);