From bef24b5c6b0e9550ea51e581aff1fff4eeff65aa Mon Sep 17 00:00:00 2001 From: degasus Date: Sun, 17 Feb 2013 21:41:00 +0100 Subject: [PATCH] new format for gl extensions --- Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index 847ffa7acf..0a814cbb6d 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -311,11 +311,16 @@ Renderer::Renderer() g_Config.backend_info.bSupportsGLSLCache = GLEW_ARB_get_program_binary; UpdateActiveConfig(); - OSD::AddMessage(StringFromFormat("Supports Blending: %s UBOs: %s PinnedMem: %s Cache: %s", - g_ActiveConfig.backend_info.bSupportsDualSourceBlend ? "True" : "False", - g_ActiveConfig.backend_info.bSupportsGLSLUBO ? "True" : "False", - g_ActiveConfig.backend_info.bSupportsGLPinnedMemory ? "True" : "False", - g_ActiveConfig.backend_info.bSupportsGLSLCache ? "True" : "False").c_str(), 5000); + OSD::AddMessage(StringFromFormat("Supports: %s%s%s%s- Missing: %s%s%s%s", + g_ActiveConfig.backend_info.bSupportsDualSourceBlend ? "DualSourceBlend " : "", + g_ActiveConfig.backend_info.bSupportsGLSLUBO ? "UniformBuffer " : "", + g_ActiveConfig.backend_info.bSupportsGLPinnedMemory ? "PinnedMemory " : "", + g_ActiveConfig.backend_info.bSupportsGLSLCache ? "ShaderCache " : "", + g_ActiveConfig.backend_info.bSupportsDualSourceBlend ? "" : "DualSourceBlend ", + g_ActiveConfig.backend_info.bSupportsGLSLUBO ? "" : "UniformBuffer ", + g_ActiveConfig.backend_info.bSupportsGLPinnedMemory ? "" : "PinnedMemory ", + g_ActiveConfig.backend_info.bSupportsGLSLCache ? "" : "ShaderCache " + ).c_str(), 5000); s_LastMultisampleMode = g_ActiveConfig.iMultisampleMode; s_MSAASamples = GetNumMSAASamples(s_LastMultisampleMode);