Browse Source

Accidentally deleted more than I should have

--HG--
branch : minor
Alex Szpakowski 11 years ago
parent
commit
e6221638e3
1 changed files with 9 additions and 0 deletions
  1. 9 0
      src/modules/graphics/Texture.cpp

+ 9 - 0
src/modules/graphics/Texture.cpp

@@ -27,6 +27,15 @@ namespace graphics
 
 Texture::Filter Texture::defaultFilter;
 
+Texture::Texture()
+	: width(0)
+	, height(0)
+	, filter(getDefaultFilter())
+	, wrap()
+	, vertices()
+{
+}
+
 Texture::~Texture()
 {
 }