mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00
Fix videos being flipped vertically (missed from last commit)
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
This commit is contained in:
parent
672ea47d23
commit
56ebb78287
@ -70,12 +70,12 @@ CVideo::CVideo (Core::CVideo* video, CContext* context) :
|
|||||||
throw std::runtime_error ("Failed to allocate video frame");
|
throw std::runtime_error ("Failed to allocate video frame");
|
||||||
|
|
||||||
GLfloat texCoords [] = {
|
GLfloat texCoords [] = {
|
||||||
|
0.0f, 1.0f,
|
||||||
|
1.0f, 1.0f,
|
||||||
0.0f, 0.0f,
|
0.0f, 0.0f,
|
||||||
1.0f, 0.0f,
|
0.0f, 0.0f,
|
||||||
0.0f, 1.0f,
|
1.0f, 1.0f,
|
||||||
0.0f, 1.0f,
|
1.0f, 0.0f
|
||||||
1.0f, 0.0f,
|
|
||||||
1.0f, 1.0f
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// inverted positions so the final texture is rendered properly
|
// inverted positions so the final texture is rendered properly
|
||||||
|
Loading…
Reference in New Issue
Block a user