Преглед на файлове

Fix videos being flipped vertically (missed from last commit)

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
Alexis Maiquez преди 3 години
родител
ревизия
56ebb78287
променени са 1 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. 5 5
      src/WallpaperEngine/Render/CVideo.cpp

+ 5 - 5
src/WallpaperEngine/Render/CVideo.cpp

@@ -70,12 +70,12 @@ CVideo::CVideo (Core::CVideo* video, CContext* context) :
         throw std::runtime_error ("Failed to allocate video frame");
 
     GLfloat texCoords [] = {
-        0.0f, 0.0f,
-        1.0f, 0.0f,
-        0.0f, 1.0f,
         0.0f, 1.0f,
-        1.0f, 0.0f,
-        1.0f, 1.0f
+        1.0f, 1.0f,
+        0.0f, 0.0f,
+        0.0f, 0.0f,
+        1.0f, 1.0f,
+        1.0f, 0.0f
     };
 
     // inverted positions so the final texture is rendered properly