From 726e495bbdf08b7914ea9e3afb1ba2c3d8c1d549 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 5 Dec 2017 07:14:08 -0700 Subject: [PATCH] mesa: trivial whitespace fixes in transformfeedback.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák --- src/mesa/main/transformfeedback.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/mesa/main/transformfeedback.c b/src/mesa/main/transformfeedback.c index a5ea2a5eb77..e4cc1db5e5b 100644 --- a/src/mesa/main/transformfeedback.c +++ b/src/mesa/main/transformfeedback.c @@ -346,7 +346,7 @@ _mesa_compute_max_transform_feedback_vertices(struct gl_context *ctx, /* Skip any inactive buffers, which have a stride of 0. */ if (stride == 0) - continue; + continue; max_for_this_buffer = obj->Size[i] / (4 * stride); max_index = MIN2(max_index, max_for_this_buffer); @@ -605,7 +605,7 @@ _mesa_validate_buffer_range_xfb(struct gl_context *ctx, _mesa_error(ctx, GL_INVALID_VALUE, "%s(size=%d must be a multiple of " "four)", gl_methd_name, (int) size); return false; - } + } if (offset & 0x3) { /* OpenGL 4.5 core profile, 6.7, pdf page 103: multiple of 4 */ @@ -732,13 +732,13 @@ _mesa_TransformFeedbackBufferBase(GLuint xfb, GLuint index, GLuint buffer) obj = lookup_transform_feedback_object_err(ctx, xfb, "glTransformFeedbackBufferBase"); - if(!obj) { + if (!obj) { return; } bufObj = lookup_transform_feedback_bufferobj_err(ctx, buffer, "glTransformFeedbackBufferBase"); - if(!bufObj) { + if (!bufObj) { return; } @@ -755,13 +755,13 @@ _mesa_TransformFeedbackBufferRange(GLuint xfb, GLuint index, GLuint buffer, obj = lookup_transform_feedback_object_err(ctx, xfb, "glTransformFeedbackBufferRange"); - if(!obj) { + if (!obj) { return; } bufObj = lookup_transform_feedback_bufferobj_err(ctx, buffer, "glTransformFeedbackBufferRange"); - if(!bufObj) { + if (!bufObj) { return; } @@ -1337,7 +1337,7 @@ _mesa_GetTransformFeedbackiv(GLuint xfb, GLenum pname, GLint *param) obj = lookup_transform_feedback_object_err(ctx, xfb, "glGetTransformFeedbackiv"); - if(!obj) { + if (!obj) { return; } @@ -1363,7 +1363,7 @@ _mesa_GetTransformFeedbacki_v(GLuint xfb, GLenum pname, GLuint index, obj = lookup_transform_feedback_object_err(ctx, xfb, "glGetTransformFeedbacki_v"); - if(!obj) { + if (!obj) { return; } @@ -1392,7 +1392,7 @@ _mesa_GetTransformFeedbacki64_v(GLuint xfb, GLenum pname, GLuint index, obj = lookup_transform_feedback_object_err(ctx, xfb, "glGetTransformFeedbacki64_v"); - if(!obj) { + if (!obj) { return; } -- 2.30.2