summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-04 19:44:03 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-04 19:44:03 +0000
commit3107620451ec44231137bd0ee75e9dc17d1f54b6 (patch)
tree2c3b9699980ed12cedcbb49529ea1dfdd9f14f31 /libvo
parent1a42a53fd206b0b7d305d8f7d626aba1921403b8 (diff)
downloadmpv-3107620451ec44231137bd0ee75e9dc17d1f54b6.tar.bz2
mpv-3107620451ec44231137bd0ee75e9dc17d1f54b6.tar.xz
Cosmetics/reindent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31012 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_gl2.c27
1 files changed, 13 insertions, 14 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c
index e1a71c0ce8..22281bb999 100644
--- a/libvo/vo_gl2.c
+++ b/libvo/vo_gl2.c
@@ -186,7 +186,7 @@ static int initTextures(void)
texture_height=s;
if (!is_yuv)
- gl_internal_format = getInternalFormat();
+ gl_internal_format = getInternalFormat();
/* Test the max texture size */
do {
@@ -201,22 +201,21 @@ static int initTextures(void)
if (format == gl_internal_format)
break;
- mp_msg (MSGT_VO, MSGL_V, "[gl2] Needed texture [%dx%d] too big, trying ",
- texture_width, texture_height);
+ mp_msg (MSGT_VO, MSGL_V, "[gl2] Needed texture [%dx%d] too big, trying ",
+ texture_width, texture_height);
- if (texture_width > texture_height)
- texture_width /= 2;
- else
- texture_height /= 2;
+ if (texture_width > texture_height)
+ texture_width /= 2;
+ else
+ texture_height /= 2;
- mp_msg (MSGT_VO, MSGL_V, "[%dx%d] !\n", texture_width, texture_height);
+ mp_msg (MSGT_VO, MSGL_V, "[%dx%d] !\n", texture_width, texture_height);
- if(texture_width < 64 || texture_height < 64) {
- mp_msg (MSGT_VO, MSGL_FATAL, "[gl2] Give up .. usable texture size not avaiable, or texture config error !\n");
- return -1;
- }
- }
- while (texture_width > 1 && texture_height > 1);
+ if(texture_width < 64 || texture_height < 64) {
+ mp_msg (MSGT_VO, MSGL_FATAL, "[gl2] Give up .. usable texture size not avaiable, or texture config error !\n");
+ return -1;
+ }
+ } while (texture_width > 1 && texture_height > 1);
#ifdef TEXTURE_WIDTH
texture_width = TEXTURE_WIDTH;
#endif