gl_rasterizer_cache: Remove redundant GLES check.
This commit is contained in:
parent
e24022bb07
commit
643b8ab2c5
@ -1675,10 +1675,7 @@ 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) {
|
glSamplerParameterf(s, GL_TEXTURE_LOD_BIAS, lod_bias / 256.0f);
|
||||||
// Can't sample LOD_BIAS on GLES
|
|
||||||
glSamplerParameterf(s, GL_TEXTURE_LOD_BIAS, lod_bias / 256.0f);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user