diff options
author | Vadim Girlin <[email protected]> | 2013-04-21 19:10:32 +0400 |
---|---|---|
committer | Vadim Girlin <[email protected]> | 2013-04-30 21:50:47 +0400 |
commit | fbb065d629d2f79a6224fc3e5e89d5acc275e3b4 (patch) | |
tree | d4c2cf477a6f1aa03ac4a381ec2dac57442d96b2 /src | |
parent | d5b30fd03672dee3a73136d09f83b69381854e17 (diff) |
r600g: use enum type for domains field in struct r600_resource
This prevents the problems when the header is included in C++ code.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r600/r600_resource.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |