summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/texture.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-08 01:08:51 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-08 01:08:51 -0500
commit809c882062182afef2f68c4440194111ec4142ab (patch)
tree2de396a9ba8b26c22919855e69c69a5075a54a61 /libdimension/dimension/texture.h
parenta9b0cc704a937015abba6094cdd14b1f2ecbb5e3 (diff)
downloaddimension-809c882062182afef2f68c4440194111ec4142ab.tar.xz
Fix double-init bug for inherited textures.
Diffstat (limited to 'libdimension/dimension/texture.h')
-rw-r--r--libdimension/dimension/texture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdimension/dimension/texture.h b/libdimension/dimension/texture.h
index 98e33b8..c30b368 100644
--- a/libdimension/dimension/texture.h
+++ b/libdimension/dimension/texture.h
@@ -107,6 +107,7 @@ typedef struct {
/* Reference count */
unsigned int *refcount;
+ bool should_init;
} dmnsn_texture;
dmnsn_texture *dmnsn_new_texture(void);