From a3969aa125c8f61b093a5f5f69e8265a131051d0 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 20 Nov 2013 01:47:36 +0100 Subject: mesa: initialize gl_renderbuffer::Depth in core Reviewed-by: Ian Romanick Tested-by: Ian Romanick --- src/mesa/main/fbobject.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/main/fbobject.c') diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 36506272932..861885dd3f7 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -411,6 +411,7 @@ _mesa_update_texture_renderbuffer(struct gl_context *ctx, rb->InternalFormat = texImage->InternalFormat; rb->Width = texImage->Width2; rb->Height = texImage->Height2; + rb->Depth = texImage->Depth2; rb->NumSamples = texImage->NumSamples; rb->TexImage = texImage; -- cgit v1.2.3