diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-05-28 18:16:04 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-05-28 18:16:04 -0600 |
commit | 4479d25609e26253c4e5fcfc78b093c0b45cefb8 (patch) | |
tree | 4f931d4d1d78e4915f99134e563a9d14faba7a33 /libdimension/dimension/texture.h | |
parent | efd3c1c2b42ffda0c8f7e5cd9b03fba07eead1ea (diff) | |
download | dimension-4479d25609e26253c4e5fcfc78b093c0b45cefb8.tar.xz |
Don't allocate reference counts on the heap.
Diffstat (limited to 'libdimension/dimension/texture.h')
-rw-r--r-- | libdimension/dimension/texture.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/dimension/texture.h b/libdimension/dimension/texture.h index 8051c02..7edcabc 100644 --- a/libdimension/dimension/texture.h +++ b/libdimension/dimension/texture.h @@ -31,8 +31,8 @@ typedef struct { dmnsn_matrix trans; /**< Transformation matrix. */ dmnsn_matrix trans_inv; /**< The inverse of the transformation matrix. */ - dmnsn_refcount *refcount; /**< @internal Reference count. */ - bool should_init; /**< @internal Whether to initialize the texture. */ + dmnsn_refcount refcount; /**< @internal Reference count. */ + bool should_init; /**< @internal Whether to initialize the texture. */ } dmnsn_texture; /** |