summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-06-02 17:59:10 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-06-02 17:59:10 +0300
commit5aa7c02984536157448c234305c3aff7f7912727 (patch)
treea008e5346cc9bb9b388021d6853af34b3c25683c /libvo/vo_gl.c
parent0f95b7031421eec3aacb43ce7965f41755bc6e40 (diff)
parent49c904b517a6bbb789ceaea80cb40323dadc1d29 (diff)
downloadmpv-5aa7c02984536157448c234305c3aff7f7912727.tar.bz2
mpv-5aa7c02984536157448c234305c3aff7f7912727.tar.xz
Merge svn changes up to r31284
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c2
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) {