mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 00:02:13 +00:00
Make vo gl print the OpenGL vendor and version strings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30193 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ef395a2f08
commit
fb26608318
@ -449,6 +449,7 @@ static void autodetectGlExtensions(void) {
|
||||
const char *version = GetString(GL_VERSION);
|
||||
int is_ati = 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);
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user