gallium: Fix up xorg state tracker build.
authorMichel Dänzer <daenzer@vmware.com>
Thu, 23 Apr 2009 11:17:28 +0000 (12:17 +0100)
committerMichel Dänzer <daenzer@vmware.com>
Thu, 23 Apr 2009 11:17:28 +0000 (12:17 +0100)
src/gallium/state_trackers/xorg/xorg_dri2.c
src/gallium/state_trackers/xorg/xorg_exa.c

index d04204e1bfd5975c5616b215cea624fa96238bbd..0d29b1e5727c757aa58c243936af6cbb690ae19b 100644 (file)
@@ -85,7 +85,6 @@ driCreateBuffers(DrawablePtr pDraw, unsigned int *attachments, int count)
 
            memset(&template, 0, sizeof(template));
            template.target = PIPE_TEXTURE_2D;
 
            memset(&template, 0, sizeof(template));
            template.target = PIPE_TEXTURE_2D;
-           template.compressed = 0;
            template.format = PIPE_FORMAT_S8Z24_UNORM;
            pf_get_block(template.format, &template.block);
            template.width[0] = pDraw->width;
            template.format = PIPE_FORMAT_S8Z24_UNORM;
            pf_get_block(template.format, &template.block);
            template.width[0] = pDraw->width;
@@ -98,7 +97,6 @@ driCreateBuffers(DrawablePtr pDraw, unsigned int *attachments, int count)
            struct pipe_texture template;
            memset(&template, 0, sizeof(template));
            template.target = PIPE_TEXTURE_2D;
            struct pipe_texture template;
            memset(&template, 0, sizeof(template));
            template.target = PIPE_TEXTURE_2D;
-           template.compressed = 0;
            template.format = PIPE_FORMAT_A8R8G8B8_UNORM;
            pf_get_block(template.format, &template.block);
            template.width[0] = pDraw->width;
            template.format = PIPE_FORMAT_A8R8G8B8_UNORM;
            pf_get_block(template.format, &template.block);
            template.width[0] = pDraw->width;
index 56c8fdccb285582d14696e404d0beaa1680be68e..ee61de1ea720075b1c449d9af906f15d71151aff 100644 (file)
@@ -425,7 +425,6 @@ ExaModifyPixmapHeader(PixmapPtr pPixmap, int width, int height,
 
        memset(&template, 0, sizeof(template));
        template.target = PIPE_TEXTURE_2D;
 
        memset(&template, 0, sizeof(template));
        template.target = PIPE_TEXTURE_2D;
-       template.compressed = 0;
        exa_get_pipe_format(depth, &template.format, &bitsPerPixel);
        pf_get_block(template.format, &template.block);
        template.width[0] = width;
        exa_get_pipe_format(depth, &template.format, &bitsPerPixel);
        pf_get_block(template.format, &template.block);
        template.width[0] = width;