Mesa (master): mesa: whitespace and 80 column wrapping

Brian Paul brianp at kemper.freedesktop.org
Wed Jun 2 14:35:13 PDT 2010


Module: Mesa
Branch: master
Commit: 23c5b21c1601ba6c62d360d585a4a7fd6b64caa8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=23c5b21c1601ba6c62d360d585a4a7fd6b64caa8

Author: Brian Paul <brianp at vmware.com>
Date:   Fri May 28 13:33:03 2010 -0600

mesa: whitespace and 80 column wrapping

---

 src/mesa/main/fbobject.c |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index bc4741b..f33e027 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -1015,9 +1015,10 @@ renderbuffer_storage(GLenum target, GLenum internalFormat,
     */
 }
 
+
 #if FEATURE_OES_EGL_image
 void GLAPIENTRY
-_mesa_EGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image)
+_mesa_EGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image)
 {
    struct gl_renderbuffer *rb;
    GET_CURRENT_CONTEXT(ctx);
@@ -1030,13 +1031,15 @@ _mesa_EGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image)
    }
 
    if (target != GL_RENDERBUFFER) {
-      _mesa_error(ctx, GL_INVALID_ENUM, "EGLImageTargetRenderbufferStorageOES");
+      _mesa_error(ctx, GL_INVALID_ENUM,
+                  "EGLImageTargetRenderbufferStorageOES");
       return;
    }
 
    rb = ctx->CurrentRenderbuffer;
    if (!rb) {
-      _mesa_error(ctx, GL_INVALID_OPERATION, "EGLImageTargetRenderbufferStorageOES");
+      _mesa_error(ctx, GL_INVALID_OPERATION,
+                  "EGLImageTargetRenderbufferStorageOES");
       return;
    }
 
@@ -1046,6 +1049,7 @@ _mesa_EGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image)
 }
 #endif
 
+
 /**
  * Helper function for _mesa_GetRenderbufferParameterivEXT() and
  * _mesa_GetFramebufferAttachmentParameterivEXT()
@@ -1113,6 +1117,10 @@ _mesa_RenderbufferStorageMultisample(GLenum target, GLsizei samples,
    renderbuffer_storage(target, internalFormat, width, height, samples);
 }
 
+
+/**
+ * OpenGL ES version of glRenderBufferStorage.
+ */
 void GLAPIENTRY
 _es_RenderbufferStorageEXT(GLenum target, GLenum internalFormat,
 			   GLsizei width, GLsizei height)
@@ -1130,6 +1138,7 @@ _es_RenderbufferStorageEXT(GLenum target, GLenum internalFormat,
    renderbuffer_storage(target, internalFormat, width, height, 0);
 }
 
+
 void GLAPIENTRY
 _mesa_GetRenderbufferParameterivEXT(GLenum target, GLenum pname, GLint *params)
 {



More information about the mesa-commit mailing list