1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-20 05:42:19 +00:00

show OpenGL extension string with -v, very helpful for debugging

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18496 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2006-05-13 23:06:18 +00:00
parent 02f41cc9f6
commit 0ae8d69733

View File

@ -297,6 +297,7 @@ static void getFunctions(void *(*getProcAddress)(const GLubyte *),
strcpy(allexts, extensions);
strcat(allexts, " ");
strcat(allexts, ext2);
mp_msg(MSGT_VO, MSGL_V, "OpenGL extensions string:\n%s\n", allexts);
if (!getProcAddress)
getProcAddress = setNull;
for (dsc = extfuncs; dsc->funcptr; dsc++) {