summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-03-02 15:41:12 -0500
committerKristian Høgsberg <[email protected]>2010-03-03 10:47:49 -0500
commitaf3f1bb26980537522a1586fef3fc3c208b44ebc (patch)
treeeb5f0f5a6325865f26cf0209b4f5d919baca7258 /src
parentbe1b7d1a04fe5aab11690cdf4960b160f612e51a (diff)
intel: Set InternalFormat for renderbuffers created from an EGLImage
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/intel/intel_fbo.c1
1 files changed, 1 insertions, 0 deletions
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;