gallium: remove pipe_surface::usage
[mesa.git] / src / gallium / state_trackers / d3d1x / dxgi / src / dxgi_native.cpp
index 54447814c5c90b03c195969b8806107d746e4ada..dc63fb907045e7d6ee81f6dcc0aaac4f4ae9b872 100644 (file)
@@ -1167,7 +1167,6 @@ struct GalliumDXGISwapChain : public GalliumDXGIObject<IDXGISwapChain, GalliumDX
 
                        if(!formats_compatible || src->width0 != dst_w || src->height0 != dst_h) {
                                struct pipe_surface templat;
-                               templat.usage = PIPE_BIND_RENDER_TARGET;
                                templat.format = dst->format;
                                templat.u.tex.level = 0;
                                templat.u.tex.first_layer = 0;