aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-09-24 15:37:32 +0200
committerChristoph Bumiller <[email protected]>2011-09-28 16:28:58 +0200
commit5def3b7be142cfc6bbb1534bd0557c5f324de8c0 (patch)
tree90f62519d4cb9374478b328a32be784626c2b8f6 /src/gallium
parentb3fa0d311e553ec815d58e58a30aa8b3927e4afd (diff)
d3d1x: fix uninitialized const color union black
Broken by 6dd284f7c8fac22f64c13fdf9909094f5ec59086.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp b/src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp
index e3329e4d5d3..32817ecb29f 100644
--- a/src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp
+++ b/src/gallium/state_trackers/d3d1x/dxgi/src/dxgi_native.cpp
@@ -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;