usata-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Usata-commits] Changes to usata2/src/texture.hpp


From: David Lau
Subject: [Usata-commits] Changes to usata2/src/texture.hpp
Date: Sat, 15 Jan 2005 14:17:37 -0500

Index: usata2/src/texture.hpp
diff -u usata2/src/texture.hpp:1.4 usata2/src/texture.hpp:1.5
--- usata2/src/texture.hpp:1.4  Sun Dec 26 18:36:42 2004
+++ usata2/src/texture.hpp      Sat Jan 15 19:17:35 2005
@@ -10,12 +10,12 @@
 // included in the software distribution, or visit
 // http://www.fsf.org/licenses/gpl.html.
 //
-// $Id: texture.hpp,v 1.4 2004/12/26 18:36:42 Descender Exp $
+// $Id: texture.hpp,v 1.5 2005/01/15 19:17:35 skunix Exp $
 
 #ifndef USATA_TEXTURE_HPP
 #define USATA_TEXTURE_HPP
 
-#include <GL/gl.h>
+#include <GL/glew.h>
 #include <string>
 #include <memory>
 #include <boost/filesystem/path.hpp>
@@ -31,8 +31,10 @@
 
        class Texture
        {
-               GLuint          tex_id;
-               GLuint          tex_gl_format;
+               private:
+                       GLuint          tex_id;
+                       GLuint          tex_gl_format;
+                       void            allocate_gltex (void);
                public:
                        Texture(const TextureMeta*);
                        bool reload(const TextureMeta*);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]