d3d1x: fix uninitialized const color union black

Broken by 6dd284f7c8.
This commit is contained in:
Christoph Bumiller
2011-09-24 15:37:32 +02:00
parent b3fa0d311e
commit 5def3b7be1
@@ -1162,7 +1162,7 @@ struct GalliumDXGISwapChain : public GalliumDXGIObject<IDXGISwapChain, GalliumDX
if(1)
{
unsigned blit_x, blit_y, blit_w, blit_h;
static const union pipe_color_union black;
static const union pipe_color_union black = { { 0, 0, 0, 0 } };
if(!formats_compatible || src->width0 != dst_w || src->height0 != dst_h) {
struct pipe_surface templat;