gl_rasterizer_cache: Remove redundant GLES check.

This commit is contained in:
bunnei 2019-08-28 23:16:34 -04:00
parent e24022bb07
commit 643b8ab2c5

View File

@ -1675,12 +1675,9 @@ void RasterizerOpenGL::SamplerInfo::SyncWithConfig(
if (!GLES && 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);
}
}
}
void RasterizerOpenGL::SetShader() {
shader_program_manager->UseFragmentShader(Pica::g_state.regs);