From 32fbd87f5e8d7e963b6f6f7a6916d78d02c34242 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 19 Feb 2009 13:22:58 +0000 Subject: [PATCH] whoops --- panda/src/glstuff/glGraphicsBuffer_src.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/glstuff/glGraphicsBuffer_src.cxx b/panda/src/glstuff/glGraphicsBuffer_src.cxx index 55fad081a4..59b8c66d84 100644 --- a/panda/src/glstuff/glGraphicsBuffer_src.cxx +++ b/panda/src/glstuff/glGraphicsBuffer_src.cxx @@ -227,7 +227,7 @@ rebuild_bitplanes() { Texture *attach[RTP_COUNT]; attach[RTP_color] = 0; - //attach[RTP_depth] = 0; + attach[RTP_depth] = 0; attach[RTP_depth_stencil] = 0; for (int i=0; i<_fb_properties.get_aux_rgba(); i++) { attach[RTP_aux_rgba_0+i] = 0; @@ -270,7 +270,7 @@ rebuild_bitplanes() { // For all slots, update the slot. - //bind_slot(rb_resize, attach, RTP_depth, GL_DEPTH_ATTACHMENT_EXT); + bind_slot(rb_resize, attach, RTP_depth, GL_DEPTH_ATTACHMENT_EXT); bind_slot(rb_resize, attach, RTP_depth_stencil, GL_DEPTH_ATTACHMENT_EXT); bind_slot(rb_resize, attach, RTP_color, GL_COLOR_ATTACHMENT0_EXT); int next = GL_COLOR_ATTACHMENT1_EXT;