[Mesa-dev] [PATCH 4/5] Patch 5: whitespace consistency.

Eric Anholt eric at anholt.net
Thu Oct 31 19:50:23 CET 2013


---
 src/mesa/main/varray.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index 0087096..ed3d047 100644
--- a/src/mesa/main/varray.c
+++ b/src/mesa/main/varray.c
@@ -1495,7 +1495,7 @@ _mesa_VertexAttribIFormat(GLuint attribIndex, GLint size, GLenum type,
     *     - ..."
     */
    if (ctx->API == API_OPENGL_CORE &&
-          ctx->Array.ArrayObj == ctx->Array.DefaultArrayObj) {
+       ctx->Array.ArrayObj == ctx->Array.DefaultArrayObj) {
       _mesa_error(ctx, GL_INVALID_OPERATION,
                   "glVertexAttribIFormat(No array object bound)");
       return;
@@ -1543,7 +1543,7 @@ _mesa_VertexAttribLFormat(GLuint attribIndex, GLint size, GLenum type,
     * that this is an oversight.
     */
    if (ctx->API == API_OPENGL_CORE &&
-          ctx->Array.ArrayObj == ctx->Array.DefaultArrayObj) {
+       ctx->Array.ArrayObj == ctx->Array.DefaultArrayObj) {
       _mesa_error(ctx, GL_INVALID_OPERATION,
                   "glVertexAttribLFormat(No array object bound)");
       return;
@@ -1583,7 +1583,7 @@ _mesa_VertexAttribBinding(GLuint attribIndex, GLuint bindingIndex)
     *     is bound."
     */
    if (ctx->API == API_OPENGL_CORE &&
-          ctx->Array.ArrayObj == ctx->Array.DefaultArrayObj) {
+       ctx->Array.ArrayObj == ctx->Array.DefaultArrayObj) {
       _mesa_error(ctx, GL_INVALID_OPERATION,
                   "glVertexAttribBinding(No array object bound)");
       return;
@@ -1632,7 +1632,7 @@ _mesa_VertexBindingDivisor(GLuint bindingIndex, GLuint divisor)
     *     is bound."
     */
    if (ctx->API == API_OPENGL_CORE &&
-          ctx->Array.ArrayObj == ctx->Array.DefaultArrayObj) {
+       ctx->Array.ArrayObj == ctx->Array.DefaultArrayObj) {
       _mesa_error(ctx, GL_INVALID_OPERATION,
                   "glVertexBindingDivisor(No array object bound)");
       return;
-- 
1.8.4.rc3



More information about the mesa-dev mailing list