diff options
author | Timothy Arceri <[email protected]> | 2016-06-28 09:41:59 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-06-30 16:51:25 +1000 |
commit | fd2b3da5c8cdbc5b00436185a3c03dfb7b7bd853 (patch) | |
tree | 7c08cfcdb3d15870a979b5b0641a9a1aeca4c0cd /src/compiler/glsl/builtin_functions.cpp | |
parent | 32c410d2df2b9c9476834bf891cdcf8254bdfb4e (diff) |
glsl/main: remove unused params and make function static
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/compiler/glsl/builtin_functions.cpp')
-rw-r--r-- | src/compiler/glsl/builtin_functions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/builtin_functions.cpp b/src/compiler/glsl/builtin_functions.cpp index ae4e8f2c455..941ea1242bb 100644 --- a/src/compiler/glsl/builtin_functions.cpp +++ b/src/compiler/glsl/builtin_functions.cpp @@ -956,7 +956,7 @@ builtin_builder::create_shader() * GLSL utility code that could be linked against any stage, so just * arbitrarily pick GL_VERTEX_SHADER. */ - shader = _mesa_new_shader(NULL, 0, MESA_SHADER_VERTEX); + shader = _mesa_new_shader(0, MESA_SHADER_VERTEX); shader->symbols = new(mem_ctx) glsl_symbol_table; gl_ModelViewProjectionMatrix = |