gl/context: output available extensions
This commit is contained in:
parent
1460d22e92
commit
175ca3f7b0
@ -817,12 +817,14 @@ gst_gl_context_create_thread (GstGLContext * context)
|
|||||||
ext_g_str = _build_extension_string (context);
|
ext_g_str = _build_extension_string (context);
|
||||||
|
|
||||||
if (ext_g_str && ext_g_str->len) {
|
if (ext_g_str && ext_g_str->len) {
|
||||||
|
GST_DEBUG_OBJECT (context, "GL_EXTENSIONS: %s", ext_g_str->str);
|
||||||
_gst_gl_feature_check_ext_functions (context, context->priv->gl_major,
|
_gst_gl_feature_check_ext_functions (context, context->priv->gl_major,
|
||||||
context->priv->gl_minor, ext_g_str->str);
|
context->priv->gl_minor, ext_g_str->str);
|
||||||
} else {
|
} else {
|
||||||
ext_const_c_str = (const gchar *) gl->GetString (GL_EXTENSIONS);
|
ext_const_c_str = (const gchar *) gl->GetString (GL_EXTENSIONS);
|
||||||
if (!ext_const_c_str)
|
if (!ext_const_c_str)
|
||||||
ext_const_c_str = "";
|
ext_const_c_str = "";
|
||||||
|
GST_DEBUG_OBJECT (context, "GL_EXTENSIONS: %s", ext_const_c_str);
|
||||||
_gst_gl_feature_check_ext_functions (context, context->priv->gl_major,
|
_gst_gl_feature_check_ext_functions (context, context->priv->gl_major,
|
||||||
context->priv->gl_minor, ext_const_c_str);
|
context->priv->gl_minor, ext_const_c_str);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user