summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/texture.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/texture.h
parent8863129c6e7e57b7c4ca3fce5fece9aae8a9b7b7 (diff)
downloaddimension-f0e6133c246b5a4fe5f4c69b9d7b755581f41dcb.tar.xz
Add refcounts to textures and interiors.
Diffstat (limited to 'libdimension/dimension/texture.h')
-rw-r--r--libdimension/dimension/texture.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdimension/dimension/texture.h b/libdimension/dimension/texture.h
index ce15742..9c5fae1 100644
--- a/libdimension/dimension/texture.h
+++ b/libdimension/dimension/texture.h
@@ -102,6 +102,9 @@ typedef struct {
/* Transformation matrix */
dmnsn_matrix trans, trans_inv;
+
+ /* Reference count */
+ unsigned int *refcount;
} dmnsn_texture;
dmnsn_texture *dmnsn_new_texture();