Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix msaa detection
  • Loading branch information
degasus committed Apr 5, 2013
1 parent a2ebb2b commit 3e8ba3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
Expand Up @@ -351,6 +351,8 @@ Renderer::Renderer()
g_ogl_config.gl_version = (const char*)glGetString(GL_VERSION);

glGetIntegerv(GL_MAX_SAMPLES, &g_ogl_config.max_samples);
if(g_ogl_config.max_samples < 1)
g_ogl_config.max_samples = 1;

if(g_Config.backend_info.bSupportsGLSLUBO && (
// hd3000 get corruption, hd4000 also and a big slowdown
Expand Down

0 comments on commit 3e8ba3f

Please sign in to comment.