projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5b30fd
)
r600g: use enum type for domains field in struct r600_resource
author
Vadim Girlin
<vadimgirlin@gmail.com>
Sun, 21 Apr 2013 15:10:32 +0000
(19:10 +0400)
committer
Vadim Girlin
<vadimgirlin@gmail.com>
Tue, 30 Apr 2013 17:50:47 +0000
(21:50 +0400)
This prevents the problems when the header is included in C++ code.
src/gallium/drivers/r600/r600_resource.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_resource.h
b/src/gallium/drivers/r600/r600_resource.h
index d07ff9e1e0437b5173ea1693a4f558870bd2023e..e20e94212059bb0adbfc3683c0773ce47f240d78 100644
(file)
--- 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