diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2016-03-08 21:14:47 -0500 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2016-03-08 21:14:47 -0500 |
commit | 98e08cb7c2ae6c61192bac73a1fc7254224452be (patch) | |
tree | 2ff5a4b9254b0dc9217795dc8a76365736fd40e4 /include/Texture.h | |
parent | 0a0766a186db892f7a8f28f0130a043fd9b9dff9 (diff) | |
parent | 82c75b0a97eba2f78206d3b97d47eaa580a82f0c (diff) |
Fixed incorrect language percentages
Diffstat (limited to 'include/Texture.h')
-rw-r--r-- | include/Texture.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/Texture.h b/include/Texture.h index c6376cb..7201a4c 100644 --- a/include/Texture.h +++ b/include/Texture.h @@ -27,13 +27,13 @@ namespace Texture{ * later referencing of the texture. */ - GLuint loadTexture(const char *fileName); + GLuint loadTexture(std::string fileName); void freeTextures(void); void initColorIndex(); vec2 getIndex(Color c); - dim2 imageDim(const char *fileName); + dim2 imageDim(std::string fileName); } /** @@ -58,7 +58,7 @@ public: * Contains an array of the GLuints returned from Texture::loadTexture(). */ - GLuint *image = NULL; + std::vector<GLuint> image; /** * Populates the image array from a list of strings, with each string as a @@ -73,6 +73,7 @@ public: Texturec(uint amt,const char **paths); Texturec(std::vector<std::string>vec); + Texturec( std::initializer_list<std::string> l ); /** * Frees memory taken by the image array. |