gl_rasterizer_cache: Remove redundant GLES check.
This commit is contained in:
parent
bfd8f63b44
commit
883fdf6c8c
@ -1670,11 +1670,8 @@ void RasterizerOpenGL::SamplerInfo::SyncWithConfig(
|
|||||||
|
|
||||||
if (!GLES && lod_bias != config.lod.bias) {
|
if (!GLES && lod_bias != config.lod.bias) {
|
||||||
lod_bias = config.lod.bias;
|
lod_bias = config.lod.bias;
|
||||||
if (!GLES) {
|
|
||||||
// Can't sample LOD_BIAS on GLES
|
|
||||||
glSamplerParameterf(s, GL_TEXTURE_LOD_BIAS, lod_bias / 256.0f);
|
glSamplerParameterf(s, GL_TEXTURE_LOD_BIAS, lod_bias / 256.0f);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RasterizerOpenGL::SetShader() {
|
void RasterizerOpenGL::SetShader() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user