Tweak some comments.
authorCarl Hetherington <cth@carlh.net>
Sun, 12 Sep 2021 22:25:59 +0000 (00:25 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 27 Sep 2021 11:41:46 +0000 (13:41 +0200)
src/wx/gl_video_view.cc

index 49a30d7334ab67c605c02a5fe58745fc2b16e151..3dcf2ec6fccaa7d37826b08707b7913f39956075 100644 (file)
@@ -539,14 +539,14 @@ GLVideoView::set_image (shared_ptr<const PlayerVideo> pv)
 
                float vertices[] = {
                        // positions                  // texture coords
-                        image_x,   image_y,   0.0f,  1.0f, 0.0f,   // top right           (index 0)
-                        image_x,  -image_y,   0.0f,  1.0f, 1.0f,   // bottom right        (index 1)
-                       -image_x,  -image_y,   0.0f,  0.0f, 1.0f,   // bottom left         (index 2)
-                       -image_x,   image_y,   0.0f,  0.0f, 0.0f,   // top left            (index 3)
-                        border_x1, border_y1, 0.0f,  0.0f, 0.0f,   // border bottom left  (index 4)
-                        border_x1, border_y2, 0.0f,  0.0f, 0.0f,   // border top left     (index 5)
-                        border_x2, border_y2, 0.0f,  0.0f, 0.0f,   // border top right    (index 6)
-                        border_x2, border_y1, 0.0f,  0.0f, 0.0f,   // border bottom right (index 7)
+                        image_x,   image_y,   0.0f,  1.0f, 0.0f,   // video texture top right    (index 0)
+                        image_x,  -image_y,   0.0f,  1.0f, 1.0f,   // video texture bottom right (index 1)
+                       -image_x,  -image_y,   0.0f,  0.0f, 1.0f,   // video texture bottom left  (index 2)
+                       -image_x,   image_y,   0.0f,  0.0f, 0.0f,   // video texture top left     (index 3)
+                        border_x1, border_y1, 0.0f,  0.0f, 0.0f,   // border bottom left         (index 4)
+                        border_x1, border_y2, 0.0f,  0.0f, 0.0f,   // border top left            (index 5)
+                        border_x2, border_y2, 0.0f,  0.0f, 0.0f,   // border top right           (index 6)
+                        border_x2, border_y1, 0.0f,  0.0f, 0.0f,   // border bottom right        (index 7)
                };
 
                /* Set the vertex shader's input data (GL_ARRAY_BUFFER) */