]> git.jsancho.org Git - lugaru.git/commitdiff
add include guard to Texture.h
authorsf17k <sf171k@gmail.com>
Sun, 29 May 2011 16:30:19 +0000 (12:30 -0400)
committersf17k <sf171k@gmail.com>
Sun, 29 May 2011 16:30:19 +0000 (12:30 -0400)
Source/Texture.h

index 69226761fcf50fcfba8806f2e6d1e8f3d60d3433..f50af0eef4c44c32bad01637a749cd0c3fd903db 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _TEXTURE_H_
+#define _TEXTURE_H_
+
 #include <map>
 #include <string>
 
@@ -34,3 +37,4 @@ class Texture {
                static GLuint Load(const std::string& fileName, bool mipmap, bool hasalpha, GLubyte* array, int* skinsize);
 };
 
+#endif