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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user