Skip to content
Snippets Groups Projects
Commit e329c4bb authored by Romain Vimont's avatar Romain Vimont Committed by Thomas Guillem
Browse files

opengl: fix matrix multiplication order

The orientation matrix must be applied on the input coordinates, before
the (internal) Android transformation, which depends on how the texture
is actually stored.

For example, if the orientation matrix represents a vertical flip,
"vertical" is only meaningful on the input coordinates (if the Android
transformation rotates by 90°, the vertical flip would result in an
horizontal flip instead).

The first version was actually correct:
<https://mailman.videolan.org/pipermail/vlc-devel/2019-December/130153.html

>

Signed-off-by: default avatarThomas Guillem <thomas@gllm.fr>
parent 59ddce95
No related branches found
No related tags found
3 merge requests!6test Raspbian tools change,!5TEST CI with Raspbian,!3Test cpp condvar
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment