mirror of https://github.com/mpv-player/mpv
Whitespace/comment typo cosmetics.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28453 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
af87ab3afd
commit
fbac650de3
|
@ -56,7 +56,7 @@ static struct global_priv {
|
||||||
0 = Movie is not paused */
|
0 = Movie is not paused */
|
||||||
int is_clear_needed; /**< 1 = Clear the backbuffer before StretchRect
|
int is_clear_needed; /**< 1 = Clear the backbuffer before StretchRect
|
||||||
0 = (default) Don't clear it */
|
0 = (default) Don't clear it */
|
||||||
D3DLOCKED_RECT locked_rect; /**< The locked Offscreen surface */
|
D3DLOCKED_RECT locked_rect; /**< The locked offscreen surface */
|
||||||
RECT fs_movie_rect; /**< Rect (upscaled) of the movie when displayed
|
RECT fs_movie_rect; /**< Rect (upscaled) of the movie when displayed
|
||||||
in fullscreen */
|
in fullscreen */
|
||||||
RECT fs_panscan_rect; /**< PanScan source surface cropping in
|
RECT fs_panscan_rect; /**< PanScan source surface cropping in
|
||||||
|
@ -273,10 +273,10 @@ static int create_d3d_surfaces(void)
|
||||||
|
|
||||||
// make sure we respect the size limits without breaking aspect or pow2-requirements
|
// make sure we respect the size limits without breaking aspect or pow2-requirements
|
||||||
while (tex_width > priv->max_texture_width || tex_height > priv->max_texture_height) {
|
while (tex_width > priv->max_texture_width || tex_height > priv->max_texture_height) {
|
||||||
osd_width >>= 1;
|
osd_width >>= 1;
|
||||||
osd_height >>= 1;
|
osd_height >>= 1;
|
||||||
tex_width >>= 1;
|
tex_width >>= 1;
|
||||||
tex_height >>= 1;
|
tex_height >>= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
priv->osd_width = osd_width;
|
priv->osd_width = osd_width;
|
||||||
|
|
Loading…
Reference in New Issue