OpenGL: Set GL_TEXTURE_MAX_LEVEL
This commit is contained in:
parent
51009cd745
commit
34804189d8
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue