mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
setting mipmap level for empty cubemaps
This commit is contained in:
+2
-1
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user