[MPlayer-cvslog] r36314 - trunk/libvo/vo_gl.c

reimar subversion at mplayerhq.hu
Sun Jun 9 16:16:37 CEST 2013


Author: reimar
Date: Sun Jun  9 16:16:37 2013
New Revision: 36314

Log:
Fix inverted condition caused by a last-minute change from strcmp to strstr.

Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	Sun Jun  9 16:15:09 2013	(r36313)
+++ trunk/libvo/vo_gl.c	Sun Jun  9 16:16:37 2013	(r36314)
@@ -514,7 +514,7 @@ static int isSoftwareGl(void)
 {
   const char *renderer = mpglGetString(GL_RENDERER);
   return !renderer || strcmp(renderer, "Software Rasterizer") == 0 ||
-         strstr(renderer, "Software Renderer") == 0 ||
+         strstr(renderer, "Software Renderer") ||
          strstr(renderer, "llvmpipe");
 }
 


More information about the MPlayer-cvslog mailing list