From af3f1bb26980537522a1586fef3fc3c208b44ebc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 2 Mar 2010 15:41:12 -0500 Subject: [PATCH] intel: Set InternalFormat for renderbuffers created from an EGLImage --- src/mesa/drivers/dri/intel/intel_fbo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c index 82c7b19eefe..b388a3de2ef 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.c +++ b/src/mesa/drivers/dri/intel/intel_fbo.c @@ -222,6 +222,7 @@ intel_image_target_renderbuffer_storage(GLcontext *ctx, intel_region_release(&irb->region); intel_region_reference(&irb->region, image->region); + rb->InternalFormat = image->internal_format; rb->Width = image->region->width; rb->Height = image->region->height; rb->Format = image->format; -- 2.30.2