summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-11-20 01:47:36 +0100
committerMarek Olšák <[email protected]>2013-11-23 01:54:57 +0100
commita3969aa125c8f61b093a5f5f69e8265a131051d0 (patch)
treeaaa0b9350231b29d9dd51c49c5c86e1fe78a6096 /src/mesa/drivers/dri
parent46cf80fb366cb14827724a7fea004e81400cc602 (diff)
mesa: initialize gl_renderbuffer::Depth in core
Reviewed-by: Ian Romanick <[email protected]> Tested-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i915/intel_fbo.c2
-rw-r--r--src/mesa/drivers/dri/i965/intel_fbo.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_fbo.c b/src/mesa/drivers/dri/i915/intel_fbo.c
index f5343865660..36b22caa168 100644
--- a/src/mesa/drivers/dri/i915/intel_fbo.c
+++ b/src/mesa/drivers/dri/i915/intel_fbo.c
@@ -420,8 +420,6 @@ intel_renderbuffer_update_wrapper(struct intel_context *intel,
struct intel_mipmap_tree *mt = intel_image->mt;
int level = image->Level;
- rb->Depth = image->Depth;
-
rb->AllocStorage = intel_nop_alloc_storage;
intel_miptree_check_level_layer(mt, level, layer);
diff --git a/src/mesa/drivers/dri/i965/intel_fbo.c b/src/mesa/drivers/dri/i965/intel_fbo.c
index 472d2ca6f86..913621559a7 100644
--- a/src/mesa/drivers/dri/i965/intel_fbo.c
+++ b/src/mesa/drivers/dri/i965/intel_fbo.c
@@ -423,8 +423,6 @@ intel_renderbuffer_update_wrapper(struct brw_context *brw,
struct intel_mipmap_tree *mt = intel_image->mt;
int level = image->Level;
- rb->Depth = image->Depth;
-
rb->AllocStorage = intel_nop_alloc_storage;
intel_miptree_check_level_layer(mt, level, layer);