diff --git a/texture.cpp b/texture.cpp index d0c30f1..c5d679d 100755 --- a/texture.cpp +++ b/texture.cpp @@ -85,8 +85,9 @@ namespace vb01{ } } - Texture::Texture(int width, bool depth){ + Texture::Texture(int width, bool depth, int mipmapLevel){ this->width = width; + this->mipmapLevel = mipmapLevel; texture = new u32; createCubemap(true, false); diff --git a/texture.h b/texture.h index 6084af9..c319dc2 100755 --- a/texture.h +++ b/texture.h @@ -15,7 +15,7 @@ namespace vb01{ ~Texture(); Texture(int, int, bool = true); Texture(std::string[], int, bool, int = 0, bool = false); - Texture(int, bool = true); + Texture(int, bool = true, int = 0); Texture(FT_Face&, char); void select(int = 0, int = 0); void update(int = 0);