gallium/radeon: Use flags parameter in radeon_winsys_surface_init
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 2 Nov 2016 10:48:35 +0000 (19:48 +0900)
committerMichel Dänzer <michel@daenzer.net>
Fri, 4 Nov 2016 07:49:39 +0000 (16:49 +0900)
commit356458363d1ee590fe05afb37ca502c2dd733666
tree63c332b0ed1093f394b2d0bf6a4f45307be272bb
parent6f844a30c1616eac4955134ff130aad699a8079c
gallium/radeon: Use flags parameter in radeon_winsys_surface_init

Fixes valgrind warnings about surf_ws->flags being uninitialized while
starting X.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_surface.c