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);
|
||||
|
||||
Reference in New Issue
Block a user