r600g: use enum type for domains field in struct r600_resource

This prevents the problems when the header is included in C++ code.
This commit is contained in:
Vadim Girlin
2013-04-21 19:10:32 +04:00
parent d5b30fd036
commit fbb065d629
+1 -1
View File
@@ -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