From 5dc1385356fb2a7c88f840c7084be335897efe08 Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Tue, 22 Aug 2006 16:14:58 +0000 Subject: [PATCH] Small bugfix for size (0,0) windows --- panda/src/display/graphicsEngine.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panda/src/display/graphicsEngine.cxx b/panda/src/display/graphicsEngine.cxx index ef68bb2338..12ece5c8c3 100644 --- a/panda/src/display/graphicsEngine.cxx +++ b/panda/src/display/graphicsEngine.cxx @@ -250,7 +250,8 @@ make_output(GraphicsPipe *pipe, if (win_prop.has_size()) { x_size = win_prop.get_x_size(); y_size = win_prop.get_y_size(); - } else { + } + if ((x_size == 0)&&(y_size == 0)) { flags |= GraphicsPipe::BF_size_track_host; } if (host != 0) {