always init ogl configs

This commit is contained in:
degasus 2013-01-21 18:44:33 +01:00
parent cf11f0ea72
commit da0ec6618f
1 changed files with 12 additions and 12 deletions

View File

@ -300,12 +300,12 @@ Renderer::Renderer()
s_bHaveCoverageMSAA = glewIsSupported("GL_NV_framebuffer_multisample_coverage");
if (glewIsSupported("GL_ARB_blend_func_extended"))
g_Config.backend_info.bSupportsDualSourceBlend = true;
if (glewIsSupported("GL_ARB_uniform_buffer_object"))
g_Config.backend_info.bSupportsGLSLUBO = true;
if (glewIsSupported("GL_ARB_get_program_binary"))
g_Config.backend_info.bSupportsGLSLCache = false;//TODO: revert this after cache is fixed itself
g_Config.backend_info.bSupportsDualSourceBlend = glewIsSupported("GL_ARB_blend_func_extended");
g_Config.backend_info.bSupportsGLSLUBO = glewIsSupported("GL_ARB_uniform_buffer_object");
//TODO: revert this after cache is fixed itself
g_Config.backend_info.bSupportsGLSLCache = false; // glewIsSupported("GL_ARB_get_program_binary")
UpdateActiveConfig();
OSD::AddMessage(StringFromFormat("Supports Blending: %s UBOs: %s Cache: %s",