diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 37ccd796de..a1981120af 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -470,7 +470,7 @@ static void uninitGl(void) { static int isSoftwareGl(void) { const char *renderer = mpglGetString(GL_RENDERER); - return strcmp(renderer, "Software Rasterizer") == 0; + return !renderer || strcmp(renderer, "Software Rasterizer") == 0; } static void autodetectGlExtensions(void) {