Commit ac8e185d authored by Thomas Guillem's avatar Thomas Guillem

opengl: add comment

parent 270255bc
......@@ -139,6 +139,8 @@ pbo_picture_create(const opengl_tex_converter_t *tc, bool direct_rendering)
picsys->gl = tc->gl;
vlc_gl_Hold(picsys->gl);
}
/* XXX: needed since picture_NewFromResource override pic planes */
if (picture_Setup(pic, &tc->fmt))
{
picture_Release(pic);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment