From: sf17k Date: Sun, 29 May 2011 16:30:19 +0000 (-0400) Subject: add include guard to Texture.h X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=cfdbe0ad0521045b27a60dbb1c963ea6dfdcda5a;hp=531512ddd1b17458281b27a6f21be83bc2a9c16c;p=lugaru.git add include guard to Texture.h --- diff --git a/Source/Texture.h b/Source/Texture.h index 6922676..f50af0e 100644 --- a/Source/Texture.h +++ b/Source/Texture.h @@ -1,3 +1,6 @@ +#ifndef _TEXTURE_H_ +#define _TEXTURE_H_ + #include #include @@ -34,3 +37,4 @@ class Texture { static GLuint Load(const std::string& fileName, bool mipmap, bool hasalpha, GLubyte* array, int* skinsize); }; +#endif