From fbb065d629d2f79a6224fc3e5e89d5acc275e3b4 Mon Sep 17 00:00:00 2001 From: Vadim Girlin Date: Sun, 21 Apr 2013 19:10:32 +0400 Subject: [PATCH] r600g: use enum type for domains field in struct r600_resource This prevents the problems when the header is included in C++ code. --- src/gallium/drivers/r600/r600_resource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_resource.h b/src/gallium/drivers/r600/r600_resource.h index d07ff9e1e04..e20e9421205 100644 --- a/src/gallium/drivers/r600/r600_resource.h +++ b/src/gallium/drivers/r600/r600_resource.h @@ -41,7 +41,7 @@ struct r600_resource { struct radeon_winsys_cs_handle *cs_buf; /* Resource state. */ - unsigned domains; + enum radeon_bo_domain domains; /* The buffer range which is initialized (with a write transfer, * streamout, DMA, or as a random access target). The rest of -- 2.30.2