From f030154fe727e25a2afe1f78b3998c2d2dba95e4 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 18 Aug 2009 09:24:15 +0000 Subject: astyle cleanup, corrects not loading of material textures --- src/render/state.h | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) (limited to 'src/render/state.h') diff --git a/src/render/state.h b/src/render/state.h index df4d7cd..9a5a67c 100644 --- a/src/render/state.h +++ b/src/render/state.h @@ -1,16 +1,18 @@ /* render/state.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_STATE_H__ #define __INCLUDED_RENDER_STATE_H__ -namespace render { +namespace render +{ -class State { +class State +{ public: static void init(int width, int height); static void shutdown(); @@ -18,10 +20,18 @@ public: static void resize(int width, int height); static void clear(); - inline static int width() { return render_width; } - inline static int height() { return render_height; } - inline static float aspect() { return render_aspect; } - inline static bool has_generate_mipmaps() { return render_has_generate_mipmaps; } + inline static int width() { + return render_width; + } + inline static int height() { + return render_height; + } + inline static float aspect() { + return render_aspect; + } + inline static bool has_generate_mipmaps() { + return render_has_generate_mipmaps; + } private: static int render_width; -- cgit v1.2.3