GL: set texture bias (#1742)

This commit is contained in:
raven02 2016-06-04 19:41:53 +08:00 committed by Ivan
parent 8f67c910ab
commit e5a792515e

View File

@ -463,7 +463,7 @@ namespace rsx
glTexParameteri(m_target, GL_TEXTURE_COMPARE_FUNC, gl_tex_zfunc[tex.zfunc()]);
// TODO: Handle texture bias
glTexEnvi(GL_TEXTURE_FILTER_CONTROL, GL_TEXTURE_LOD_BIAS, (GLint)tex.bias());
glTexParameteri(m_target, GL_TEXTURE_MIN_LOD, (tex.min_lod() >> 8));
glTexParameteri(m_target, GL_TEXTURE_MAX_LOD, (tex.max_lod() >> 8));