diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_meta_updownsample.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_meta_updownsample.c b/src/mesa/drivers/dri/i965/brw_meta_updownsample.c index de25bf4f7aa..a35b7e14f61 100644 --- a/src/mesa/drivers/dri/i965/brw_meta_updownsample.c +++ b/src/mesa/drivers/dri/i965/brw_meta_updownsample.c @@ -27,6 +27,7 @@ #include "main/blit.h" #include "main/buffers.h" +#include "main/enums.h" #include "main/fbobject.h" #include "drivers/common/meta.h" @@ -62,7 +63,7 @@ brw_get_rb_for_first_slice(struct brw_context *brw, struct intel_mipmap_tree *mt irb = intel_renderbuffer(rb); rb->Format = mt->format; - rb->_BaseFormat = _mesa_base_fbo_format(ctx, mt->format); + rb->_BaseFormat = _mesa_get_format_base_format(mt->format); rb->NumSamples = mt->num_samples; rb->Width = mt->logical_width0; |