summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-09-13 00:25:59 +0200
committerCarl Hetherington <cth@carlh.net>2021-09-27 13:41:46 +0200
commit687ade428fb7ad6d0949f12aa5a7f5b643434489 (patch)
tree799ffd7cabadc116b93c1f692b90126ebc410210 /src
parent60874f7b18adfc95493e94f6f8cd44773f7afe7b (diff)
Tweak some comments.
Diffstat (limited to 'src')
-rw-r--r--src/wx/gl_video_view.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/wx/gl_video_view.cc b/src/wx/gl_video_view.cc
index 49a30d733..3dcf2ec6f 100644
--- a/src/wx/gl_video_view.cc
+++ b/src/wx/gl_video_view.cc
@@ -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) */