[MPlayer-cvslog] r28102 - trunk/libvo/vo_gl.c

reimar subversion at mplayerhq.hu
Fri Dec 5 23:35:25 CET 2008


Author: reimar
Date: Fri Dec  5 23:35:24 2008
New Revision: 28102

Log:
Fix indentation


Modified:
   trunk/libvo/vo_gl.c

Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c	(original)
+++ trunk/libvo/vo_gl.c	Fri Dec  5 23:35:24 2008
@@ -714,18 +714,18 @@ static uint32_t get_image(mp_image_t *mp
 #endif
     mpi->planes[0] = mesa_bufferptr;
   } else {
-  if (!gl_buffer)
-    GenBuffers(1, &gl_buffer);
-  BindBuffer(GL_PIXEL_UNPACK_BUFFER, gl_buffer);
-  if (needed_size > gl_buffersize) {
-    gl_buffersize = needed_size;
-    BufferData(GL_PIXEL_UNPACK_BUFFER, gl_buffersize,
-               NULL, GL_DYNAMIC_DRAW);
-  }
-  if (!gl_bufferptr)
-    gl_bufferptr = MapBuffer(GL_PIXEL_UNPACK_BUFFER, GL_WRITE_ONLY);
-  mpi->planes[0] = gl_bufferptr;
-  BindBuffer(GL_PIXEL_UNPACK_BUFFER, 0);
+    if (!gl_buffer)
+      GenBuffers(1, &gl_buffer);
+    BindBuffer(GL_PIXEL_UNPACK_BUFFER, gl_buffer);
+    if (needed_size > gl_buffersize) {
+      gl_buffersize = needed_size;
+      BufferData(GL_PIXEL_UNPACK_BUFFER, gl_buffersize,
+                 NULL, GL_DYNAMIC_DRAW);
+    }
+    if (!gl_bufferptr)
+      gl_bufferptr = MapBuffer(GL_PIXEL_UNPACK_BUFFER, GL_WRITE_ONLY);
+    mpi->planes[0] = gl_bufferptr;
+    BindBuffer(GL_PIXEL_UNPACK_BUFFER, 0);
   }
   if (!mpi->planes[0]) {
     if (!err_shown)



More information about the MPlayer-cvslog mailing list