diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index 0d5daaf9ec..7618c4771b 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -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