From: Oliver O. <fr...@us...> - 2007-06-17 08:35:27
|
Update of /cvsroot/simspark/simspark/spark/kerosin/textureserver In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv6843 Modified Files: Tag: projectx texture.h Log Message: - added flag to constructor if gL methods should be used Index: texture.h =================================================================== RCS file: /cvsroot/simspark/simspark/spark/kerosin/textureserver/texture.h,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.2.2.1 diff -C2 -d -r1.1.2.2 -r1.1.2.2.2.1 *** texture.h 28 Feb 2007 04:21:06 -0000 1.1.2.2 --- texture.h 17 Jun 2007 08:35:01 -0000 1.1.2.2.2.1 *************** *** 58,62 **** // public: ! Texture(); virtual ~Texture(); --- 58,62 ---- // public: ! Texture(bool use_gl = false); virtual ~Texture(); *************** *** 97,106 **** //! OpenGL texture handle GLuint mTexID; - //! width of texture unsigned int mWidth; - //! height of texture unsigned int mHeight; }; --- 97,106 ---- //! OpenGL texture handle GLuint mTexID; //! width of texture unsigned int mWidth; //! height of texture unsigned int mHeight; + //! flag if we want to access OpenGL + bool mUseGL; }; |