fix msaa detection

This commit is contained in:
degasus 2013-04-05 07:08:32 +02:00
parent a2ebb2b324
commit 3e8ba3f3e8
1 changed files with 2 additions and 0 deletions

View File

@ -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