Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-05-12 18:32:15 +0000
committerStijn Buys <ingar@osirion.org>2008-05-12 18:32:15 +0000
commit5ceb4694a05ec68b5cfba18b0f25ba804be88a80 (patch)
treed1baddc086de4bb4fa04cf59d11516f4ecc89bf3 /src/render/textures.h
parente4f2faa8d5895ba30207c09c7886afb21a697d5f (diff)
console colors
Diffstat (limited to 'src/render/textures.h')
-rw-r--r--src/render/textures.h13
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);