Changeset 7221 in orxonox.OLD for trunk/src/lib/graphics/importer/texture.h
- Timestamp:
- Mar 15, 2006, 3:10:45 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/texture.h
r6981 r7221 18 18 { 19 19 public: 20 Texture(const char* imageName = NULL, GLenum target = GL_TEXTURE_2D);20 Texture(const std::string& imageName = "", GLenum target = GL_TEXTURE_2D); 21 21 // Texture(TEXTURE_TYPE type, int resolution); 22 22 virtual ~Texture(); 23 23 24 bool loadImage(const char*imageName, GLenum target = GL_TEXTURE_2D);24 bool loadImage(const std::string& imageName, GLenum target = GL_TEXTURE_2D); 25 25 virtual bool rebuild(); 26 26
Note: See TracChangeset
for help on using the changeset viewer.