From 90a1d9967e2db28c78b757c3f945823a242b476e Mon Sep 17 00:00:00 2001 From: omegadox Date: Fri, 3 Apr 2009 20:22:45 +0000 Subject: [PATCH] OpenGL Plugin: Now prints video card info to display git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2859 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index e33a47872b..89add0f0f8 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -213,6 +213,10 @@ bool Renderer::Init() INFO_LOG(VIDEO, ptoken); // write to the log file INFO_LOG(VIDEO, ""); + OSD::AddMessage(StringFromFormat("Video Info: %s, %s, %s", (const char*)glGetString(GL_VENDOR), + (const char*)glGetString(GL_RENDERER), + (const char*)glGetString(GL_VERSION)).c_str(), 5000); + // Checks if it ONLY has the ATI_draw_buffers extension, some have both if (GLEW_ATI_draw_buffers && !GLEW_ARB_draw_buffers) s_bATIDrawBuffers = true;