From e167babfacf0c783cdd66d3ea681a063ad7ff42d Mon Sep 17 00:00:00 2001 From: Alexandre Demers Date: Tue, 20 Sep 2011 12:58:18 -0400 Subject: [PATCH] tag: fix uninitialized union in d3d1x Fix error introduced previously when moving from an initialized array of floats to an uninitialized union. It fixes the compilation error and it should initialize the union to blank/black values. --- .../state_trackers/d3d1x/dxgi/src/dxgi_native.cpp | 2 +- 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 e3329e4..60c1dfd 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 GalliumDXGIObjectwidth0 != dst_w || src->height0 != dst_h) { struct pipe_surface templat; -- 1.7.4.3