summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/interior.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-06-03 23:27:54 -0600
committerTavian Barnes <tavianator@gmail.com>2010-06-03 23:27:54 -0600
commitf0e6133c246b5a4fe5f4c69b9d7b755581f41dcb (patch)
tree8a1bca3437bff3c16196e7065fccfa3e5add51c1 /libdimension/dimension/interior.h
parent8863129c6e7e57b7c4ca3fce5fece9aae8a9b7b7 (diff)
downloaddimension-f0e6133c246b5a4fe5f4c69b9d7b755581f41dcb.tar.xz
Add refcounts to textures and interiors.
Diffstat (limited to 'libdimension/dimension/interior.h')
-rw-r--r--libdimension/dimension/interior.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdimension/dimension/interior.h b/libdimension/dimension/interior.h
index 0ab4a30..69a0fcb 100644
--- a/libdimension/dimension/interior.h
+++ b/libdimension/dimension/interior.h
@@ -34,6 +34,9 @@ typedef struct dmnsn_interior {
/* Generic pointer */
void *ptr;
+
+ /* Reference count */
+ unsigned int *refcount;
} dmnsn_interior;
dmnsn_interior *dmnsn_new_interior();