summaryrefslogtreecommitdiffstats
path: root/src/graphics/common/texture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics/common/texture.h')
-rw-r--r--src/graphics/common/texture.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/graphics/common/texture.h b/src/graphics/common/texture.h
index ab894db..55d5c70 100644
--- a/src/graphics/common/texture.h
+++ b/src/graphics/common/texture.h
@@ -20,9 +20,16 @@
namespace Gfx {
+/** \struct Texture*/
struct Texture
{
- // TODO
+ //! Whether the texture was loaded
+ bool valid;
+ //! Id of the texture in graphics engine
+ unsigned int id;
+
+ Texture()
+ { valid = false; id = 0; }
};
}; // namespace Gfx