From 33e45d8052b385aa8b1fce68122c8d11f50e7e42 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 4 May 2008 11:39:24 +0000 Subject: better target_engine rendering --- src/render/textures.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/render/textures.h') 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(); -- cgit v1.2.3