mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[client] print out video card information
This commit is contained in:
parent
8c8d0ec7af
commit
ce278d17a7
@ -95,6 +95,10 @@ bool lgr_opengl_initialize(void ** opaque, const LG_RendererParams params, const
|
|||||||
return false;
|
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)
|
if (!glXGetVideoSyncSGI)
|
||||||
{
|
{
|
||||||
glXGetVideoSyncSGI = (PFNGLXGETVIDEOSYNCSGIPROC )glXGetProcAddress((const GLubyte *)"glXGetVideoSyncSGI" );
|
glXGetVideoSyncSGI = (PFNGLXGETVIDEOSYNCSGIPROC )glXGetProcAddress((const GLubyte *)"glXGetVideoSyncSGI" );
|
||||||
|
Loading…
Reference in New Issue
Block a user