Fix videos being flipped vertically (missed from last commit)

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
This commit is contained in:
Alexis Maiquez 2022-11-04 19:09:29 +01:00
parent 672ea47d23
commit 56ebb78287

View File

@ -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