radeon: fix cut-n-paste in alphabits in fbo code
authorDave Airlie <airlied@redhat.com>
Mon, 10 Aug 2009 00:10:13 +0000 (10:10 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 10 Aug 2009 00:10:13 +0000 (10:10 +1000)
src/mesa/drivers/dri/radeon/radeon_fbo.c

index f28efa33e9ac5f720a54e4368ef6bf98d420bc2a..322f510f16d619585016cb2dc17e33602cdcb317 100644 (file)
@@ -291,7 +291,7 @@ radeon_create_renderbuffer(GLenum format, __DRIdrawablePrivate *driDrawPriv)
            rrb->base.RedBits = 8;
            rrb->base.GreenBits = 8;
            rrb->base.BlueBits = 8;
-           rrb->base.AlphaBits = 8;
+           rrb->base.AlphaBits = 0;
            rrb->base.DataType = GL_UNSIGNED_BYTE;
            break;
        case GL_RGBA8: