mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
OGL: Fix MSAA being forced to 1x
This was a regression from the remove-everything-static-from-renderer PR. As the comment indicates, it would be nice to move all of this logic out of the Renderer constructor, but this is a much larger change.
This commit is contained in:
parent
542fb347f1
commit
5326a18fdf
2 changed files with 4 additions and 4 deletions
|
@ -170,10 +170,6 @@ bool VideoBackend::FillBackendInfo()
|
|||
return false;
|
||||
}
|
||||
|
||||
glGetIntegerv(GL_MAX_SAMPLES, &g_ogl_config.max_samples);
|
||||
if (g_ogl_config.max_samples < 1 || !g_ogl_config.bSupportsMSAA)
|
||||
g_ogl_config.max_samples = 1;
|
||||
|
||||
// TODO: Move the remaining fields from the Renderer constructor here.
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue