radeon: actual format is rgba8
authorDave Airlie <airlied@redhat.com>
Mon, 23 Mar 2009 23:45:26 +0000 (09:45 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 23 Mar 2009 23:45:26 +0000 (09:45 +1000)
src/mesa/drivers/dri/radeon/radeon_fbo.c

index f914c8c8d07f391af08126106cec86747dabcd56..2c30f9ddfdef884201b04cce103e475ea2253967 100644 (file)
@@ -382,7 +382,7 @@ radeon_update_wrapper(GLcontext *ctx, struct radeon_renderbuffer *rrb,
    }
    else if (texImage->TexFormat == &_mesa_texformat_argb4444) {
       rrb->cpp = 2;
-      rrb->base._ActualFormat = GL_RGBA4;
+      rrb->base._ActualFormat = GL_RGBA8;
       rrb->base._BaseFormat = GL_RGBA;
       rrb->base.DataType = GL_UNSIGNED_BYTE;
       DBG("Render to RGBA4 texture OK\n");