diff options
author | Kristian Høgsberg <[email protected]> | 2010-03-02 15:41:12 -0500 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-03-03 10:47:49 -0500 |
commit | af3f1bb26980537522a1586fef3fc3c208b44ebc (patch) | |
tree | eb5f0f5a6325865f26cf0209b4f5d919baca7258 /src/mesa/drivers | |
parent | be1b7d1a04fe5aab11690cdf4960b160f612e51a (diff) |
intel: Set InternalFormat for renderbuffers created from an EGLImage
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_fbo.c | 1 |
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; |