OpenGL: Set GL_TEXTURE_MAX_LEVEL
This commit is contained in:
@@ -58,6 +58,8 @@ namespace Nz
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_texture.SetParameteri(GL_TEXTURE_MAX_LEVEL, m_params.mipmapLevel);
|
||||||
}
|
}
|
||||||
|
|
||||||
PixelFormat OpenGLTexture::GetFormat() const
|
PixelFormat OpenGLTexture::GetFormat() const
|
||||||
|
|||||||
Reference in New Issue
Block a user