VideoCommon: Move backend_info out of VideoConfig struct.
This commit is contained in:
1 parent
99e686de34
commit
c18c039089
62 files changed
+741
-788
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user