diff options
author | Marek Olšák <[email protected]> | 2013-11-20 01:47:36 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-11-23 01:54:57 +0100 |
commit | a3969aa125c8f61b093a5f5f69e8265a131051d0 (patch) | |
tree | aaa0b9350231b29d9dd51c49c5c86e1fe78a6096 /src/mesa/main/fbobject.c | |
parent | 46cf80fb366cb14827724a7fea004e81400cc602 (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/main/fbobject.c')
-rw-r--r-- | src/mesa/main/fbobject.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |