diff options
Diffstat (limited to 'src/render/textures.h')
-rw-r--r-- | src/render/textures.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/render/textures.h b/src/render/textures.h index 12873ef..43e312d 100644 --- a/src/render/textures.h +++ b/src/render/textures.h @@ -1,7 +1,7 @@ /* render/textures.h - This file is part of the Osirion project and is distributed under - the terms of the GNU General Public License version 2 + This file is part of the Osirion project and is distributed under + the terms of the GNU General Public License version 2 */ #ifndef __INCLUDED_RENDER_TEXTURES_H__ @@ -12,11 +12,12 @@ #include "render/gl.h" -namespace render { +namespace render +{ const size_t MAXTEXTURES = 256; -/// Texture managment +/// Texture managment class Textures { public: @@ -27,12 +28,12 @@ public: static void shutdown(); /// Load a texture - /** Returns 0 on failure, and the texture index on success + /** Returns 0 on failure, and the texture index on success */ static size_t load(std::string name, bool filter = true); /// bind a texture for OpenGL usage - /** Returns 0 on failure, and the texture index on success + /** Returns 0 on failure, and the texture index on success */ static size_t bind(std::string name, bool filter = true); |