diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-04 11:39:24 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-04 11:39:24 +0000 |
commit | 33e45d8052b385aa8b1fce68122c8d11f50e7e42 (patch) | |
tree | a1a92304f5be2bb322d4d491e737972eb9dd9dfc /src/render/textures.h | |
parent | 6155d32aa9e5fc2e5548fcc863a64d442cf5770a (diff) |
better target_engine rendering
Diffstat (limited to 'src/render/textures.h')
-rw-r--r-- | src/render/textures.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/textures.h b/src/render/textures.h index ad38451..f8e35b3 100644 --- a/src/render/textures.h +++ b/src/render/textures.h @@ -39,6 +39,9 @@ public: /// bind a texture for OpenGL usage static size_t bind(size_t texture); + /// find the texture index for a given name + static size_t find(std::string name); + private: static void clear(); |