summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-08-08 11:38:29 +0200
committerwm4 <wm4@nowhere>2017-08-08 11:38:29 +0200
commitc1bcd30b09b45d5844f5296f2a08c9aa09b3ff43 (patch)
treea93f829d81343d399cae5adc9dd4195b56ad9b78
parentfd135cf73e94dafd5384bae107aa805f2f21380d (diff)
downloadmpv-c1bcd30b09b45d5844f5296f2a08c9aa09b3ff43.tar.bz2
mpv-c1bcd30b09b45d5844f5296f2a08c9aa09b3ff43.tar.xz
vo_opengl: cosmetics to comments
-rw-r--r--video/out/opengl/ra.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/video/out/opengl/ra.h b/video/out/opengl/ra.h
index 47fa465d99..bc149c27ee 100644
--- a/video/out/opengl/ra.h
+++ b/video/out/opengl/ra.h
@@ -307,9 +307,7 @@ struct ra_fns {
void (*tex_destroy)(struct ra *ra, struct ra_tex *tex);
- // Copy from CPU RAM to the texture. The image dimensions are as specified
- // in tex->params.
- // This is an extremely common operation.
+ // Copy from CPU RAM to the texture. This is an extremely common operation.
// Unlike with OpenGL, the src data has to have exactly the same format as
// the texture, and no conversion is supported.
// region can be NULL - if it's not NULL, then the provided pointer only
@@ -360,9 +358,9 @@ struct ra_fns {
// textures are supported.
// Both textures must have tex->params.render_dst==true (even src, which is
// an odd GL requirement).
- // Rectangle with negative width/height lead to flipping, different src/dst
+ // Rectangles with negative width/height lead to flipping, different src/dst
// sizes lead to point scaling. Coordinates are always in pixels.
- // Optional. Only available if RA_CAP_BLIT is set (if it's not set, the must
+ // Optional. Only available if RA_CAP_BLIT is set (if it's not set, it must
// not be called, even if it's non-NULL).
void (*blit)(struct ra *ra, struct ra_tex *dst, struct ra_tex *src,
struct mp_rect *dst_rc, struct mp_rect *src_rc);