From ce278d17a77b83210ff3da563627a175fca962de Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Mon, 11 Dec 2017 09:29:09 +1100 Subject: [PATCH] [client] print out video card information --- client/renderers/opengl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/renderers/opengl.c b/client/renderers/opengl.c index ac7889ab..230a923a 100644 --- a/client/renderers/opengl.c +++ b/client/renderers/opengl.c @@ -95,6 +95,10 @@ bool lgr_opengl_initialize(void ** opaque, const LG_RendererParams params, const return false; } + DEBUG_INFO("Vendor : %s", glGetString(GL_VENDOR )); + DEBUG_INFO("Renderer: %s", glGetString(GL_RENDERER)); + DEBUG_INFO("Version : %s", glGetString(GL_VERSION )); + if (!glXGetVideoSyncSGI) { glXGetVideoSyncSGI = (PFNGLXGETVIDEOSYNCSGIPROC )glXGetProcAddress((const GLubyte *)"glXGetVideoSyncSGI" );