opengl: add comment
authorThomas Guillem <thomas@gllm.fr>
Fri, 18 May 2018 11:26:49 +0000 (13:26 +0200)
committerThomas Guillem <thomas@gllm.fr>
Fri, 18 May 2018 11:27:38 +0000 (13:27 +0200)
modules/video_output/opengl/converter_sw.c

index d609468..6676879 100644 (file)
@@ -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);