mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-04 09:22:38 +00:00
VideoCommon: Move backend_info out of VideoConfig struct.
This commit is contained in:
parent
99e686de34
commit
c18c039089
62 changed files with 741 additions and 788 deletions
|
@ -97,7 +97,7 @@ void SamplerCache::SetParameters(GLuint sampler_id, const SamplerState& params)
|
|||
glSamplerParameterf(sampler_id, GL_TEXTURE_MIN_LOD, params.tm1.min_lod / 16.f);
|
||||
glSamplerParameterf(sampler_id, GL_TEXTURE_MAX_LOD, params.tm1.max_lod / 16.f);
|
||||
|
||||
if (g_ActiveConfig.backend_info.bSupportsLodBiasInSampler)
|
||||
if (g_backend_info.bSupportsLodBiasInSampler)
|
||||
{
|
||||
glSamplerParameterf(sampler_id, GL_TEXTURE_LOD_BIAS, params.tm0.lod_bias / 256.f);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue