diff options
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/video_out.c | 6 | ||||
-rw-r--r-- | libvo/vo_gl.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c index 25a988e4f1..766dbb6862 100644 --- a/libvo/video_out.c +++ b/libvo/video_out.c @@ -185,6 +185,9 @@ const struct vo_driver *video_out_drivers[] = &video_out_x11, &video_out_xover, #endif +#ifdef CONFIG_SDL + &video_out_sdl, +#endif #ifdef CONFIG_GL &video_out_gl, &video_out_gl2, @@ -192,9 +195,6 @@ const struct vo_driver *video_out_drivers[] = #ifdef CONFIG_DGA &video_out_dga, #endif -#ifdef CONFIG_SDL - &video_out_sdl, -#endif #ifdef CONFIG_GGI &video_out_ggi, #endif 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) { |