diff options
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r-- | libvo/vo_gl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index c52ceabb5d..9642212d75 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -486,7 +486,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) { |