[vlc-commits] OpenGL: fix the subpicture rendering
Adrien Maglo
git at videolan.org
Thu Jun 2 14:35:34 CEST 2016
vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Thu Jun 2 13:47:23 2016 +0200| [d27358198b39e31bacf13aa90949341efc93bc14] | committer: Jean-Baptiste Kempf
OpenGL: fix the subpicture rendering
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d27358198b39e31bacf13aa90949341efc93bc14
---
modules/video_output/opengl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index d14a531..5a5e5e6 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -1377,7 +1377,7 @@ int vout_display_opengl_Display(vout_display_opengl_t *vgl,
vgl->VertexAttribPointer(vgl->GetAttribLocation(vgl->program[1], "VertexPosition"), 2, GL_FLOAT, 0, 0, 0);
// Subpictures have the correct orientation:
- vgl->UniformMatrix4fv(vgl->GetUniformLocation(vgl->program[1], "RotationMatrix"), 1, GL_FALSE, identity);
+ vgl->UniformMatrix4fv(vgl->GetUniformLocation(vgl->program[1], "OrientationMatrix"), 1, GL_FALSE, identity);
#endif
} else {
#ifdef SUPPORTS_FIXED_PIPELINE
More information about the vlc-commits
mailing list