diff options
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/gl_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/gl_common.c b/libvo/gl_common.c index 91281a3c00..e31b0e3749 100644 --- a/libvo/gl_common.c +++ b/libvo/gl_common.c @@ -1384,6 +1384,8 @@ static void glSetupYUVFragprog(gl_conversion_params_t *params) { */ int glAutodetectYUVConversion(void) { const char *extensions = mpglGetString(GL_EXTENSIONS); + if (!extensions || !mpglMultiTexCoord2f) + return YUV_CONVERSION_NONE; if (strstr(extensions, "GL_ARB_fragment_program")) return YUV_CONVERSION_FRAGMENT; if (strstr(extensions, "GL_ATI_text_fragment_shader")) |