summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-05-01 22:49:05 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-05-01 22:49:05 +0000
commitfa6239aea034da3fdc4be76007a8bc06daa1093b (patch)
treef88cdb41d54cd863ac5b75c8ac4ed75ab8bc196c /libvo
parent11b178be9a9eb788fad0ec66f537bfe306b2b2f3 (diff)
downloadmpv-fa6239aea034da3fdc4be76007a8bc06daa1093b.tar.bz2
mpv-fa6239aea034da3fdc4be76007a8bc06daa1093b.tar.xz
Also print OpenGL renderer string with vendor and version with -v
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31127 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_gl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 3b9b4eb513..e4b7158f3f 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -477,9 +477,10 @@ static void autodetectGlExtensions(void) {
const char *extensions = mpglGetString(GL_EXTENSIONS);
const char *vendor = mpglGetString(GL_VENDOR);
const char *version = mpglGetString(GL_VERSION);
+ const char *renderer = mpglGetString(GL_RENDERER);
int is_ati = vendor && strstr(vendor, "ATI") != NULL;
int ati_broken_pbo = 0;
- mp_msg(MSGT_VO, MSGL_V, "[gl] Running on OpenGL by '%s', versions '%s'\n", vendor, version);
+ mp_msg(MSGT_VO, MSGL_V, "[gl] Running on OpenGL '%s' by '%s', version '%s'\n", renderer, vendor, version);
if (is_ati && strncmp(version, "2.1.", 4) == 0) {
int ver = atoi(version + 4);
mp_msg(MSGT_VO, MSGL_V, "[gl] Detected ATI driver version: %i\n", ver);