[Piglit] [PATCH 1/6] shader_runner: Trivial whitespace fixes
Ian Romanick
idr at freedesktop.org
Thu Jul 21 19:04:18 UTC 2016
From: Ian Romanick <ian.d.romanick at intel.com>
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
tests/shaders/shader_runner.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index 5834585..0d7b593 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -400,7 +400,7 @@ compile_glsl(GLenum target)
char *shader_strings[2];
char version_string[100];
GLint shader_string_sizes[2];
-
+
/* Add a #version directive based on the GLSL requirement. */
sprintf(version_string, "#version %d", glsl_req_version.num);
if (glsl_req_version.es && glsl_req_version.num != 100) {
@@ -411,7 +411,7 @@ compile_glsl(GLenum target)
shader_string_sizes[0] = strlen(version_string);
shader_strings[1] = shader_string;
shader_string_sizes[1] = shader_string_size;
-
+
glShaderSource(shader, 2,
(const GLchar **) shader_strings,
shader_string_sizes);
--
2.5.5
More information about the Piglit
mailing list