From af6bc5581ae6cb14b9a983600c036c2afcd26e3c Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 28 Nov 2007 19:52:33 +0000 Subject: [PATCH] revert unfortunate checkin --- panda/src/display/graphicsOutput.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/display/graphicsOutput.cxx b/panda/src/display/graphicsOutput.cxx index 9cf552cfcf..4e6e62fa4b 100644 --- a/panda/src/display/graphicsOutput.cxx +++ b/panda/src/display/graphicsOutput.cxx @@ -739,7 +739,7 @@ make_texture_buffer(const string &name, int x_size, int y_size, Texture *tex, bool to_ram) { FrameBufferProperties props; props.set_rgb_color(1); - props.set_depth_bits(get_fb_properties().get_depth_bits()); + props.set_depth_bits(1); GraphicsOutput *buffer = get_gsg()->get_engine()-> make_output(get_gsg()->get_pipe(),