summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/intel/intel_fbo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c
index 963034423d2..f4a25a182f3 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/src/mesa/drivers/dri/intel/intel_fbo.c
@@ -475,7 +475,7 @@ intel_renderbuffer_update_wrapper(struct intel_context *intel,
rb->Format = image->TexFormat;
rb->InternalFormat = image->InternalFormat;
- rb->_BaseFormat = _mesa_get_format_base_format(rb->Format);
+ rb->_BaseFormat = image->_BaseFormat;
rb->Width = mt->level[level].width;
rb->Height = mt->level[level].height;