aboutsummaryrefslogtreecommitdiffstats
path: root/include/texture.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/texture.hpp')
-rw-r--r--include/texture.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/texture.hpp b/include/texture.hpp
index 25f73a5..0684cb7 100644
--- a/include/texture.hpp
+++ b/include/texture.hpp
@@ -28,7 +28,7 @@
class Texture {
protected:
std::string name; /**< The name (path) of the loaded file. */
- GLuint tex; /**< The GLuint for the loaded texture. */
+ GLuint tex = 0; /**< The GLuint for the loaded texture. */
vec2 dim; /**< The dimensions of the loaded texture. */
public: