aboutsummaryrefslogtreecommitdiffstats
path: root/include/Texture.h
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-03-03 09:26:06 -0500
committerClyne Sullivan <tullivan99@gmail.com>2016-03-03 09:26:06 -0500
commit90f3d2ff9fe7297dae0bdcee9c441e53177a0fb7 (patch)
tree3f89437e059b33dc2c78766e17c21e62fb1489e6 /include/Texture.h
parente879b257b9512816f2ff579a7444fe600a74ed91 (diff)
efficiency stuffs
Diffstat (limited to 'include/Texture.h')
-rw-r--r--include/Texture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Texture.h b/include/Texture.h
index 659c32d..7201a4c 100644
--- a/include/Texture.h
+++ b/include/Texture.h
@@ -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.