summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-27 22:01:27 +0100
committerwm4 <wm4@nowhere>2015-02-27 22:01:27 +0100
commite7b7a5a476a9082320173a7c09b22d3b679fe557 (patch)
tree2effe30c22e1659eea242ca07320b04e4ea27b52 /video
parentfbf76da913b2d39a7da3cc7cea3d8b61f3c2f540 (diff)
downloadmpv-e7b7a5a476a9082320173a7c09b22d3b679fe557.tar.bz2
mpv-e7b7a5a476a9082320173a7c09b22d3b679fe557.tar.xz
vo_opengl: fix some comments
Diffstat (limited to 'video')
-rw-r--r--video/out/gl_video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index 4f554fbada..348da35663 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -467,9 +467,9 @@ void gl_video_set_debug(struct gl_video *p, bool enable)
}
// Draw a textured quad.
-// x0, y0, x1, y1 = destination coordinates of the quad
-// tx0, ty0, tx1, ty1 = source texture coordinates (usually in pixels)
-// texture_w, texture_h = size of the texture, or an inverse factor
+// x0, y0, x1, y1 = destination coordinates of the quad in pixels
+// tx0, ty0, tx1, ty1 = source texture coordinates in pixels
+// tex_w, tex_h = size of the texture in pixels
// flags = bits 0-1: rotate, bits 2: flip vertically
static void draw_quad(struct gl_video *p,
float x0, float y0, float x1, float y1,