Browse Source

revert unfortunate checkin

David Rose 18 years ago
parent
commit
af6bc5581a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/display/graphicsOutput.cxx

+ 1 - 1
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) {
                     Texture *tex, bool to_ram) {
   FrameBufferProperties props;
   FrameBufferProperties props;
   props.set_rgb_color(1);
   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()->
   GraphicsOutput *buffer = get_gsg()->get_engine()->
     make_output(get_gsg()->get_pipe(),
     make_output(get_gsg()->get_pipe(),