diff options
author | Timothy Arceri <[email protected]> | 2016-06-30 14:44:59 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-06-30 16:51:25 +1000 |
commit | 1591e668e162daf4057a0d44df4e70f19b94fc76 (patch) | |
tree | 2d6482014ef8ca198bd15d578d6ffbd2ff32d2da /src/mesa/main/shaderobj.c | |
parent | fd2b3da5c8cdbc5b00436185a3c03dfb7b7bd853 (diff) |
glsl/mesa: move duplicate shader fields into new struct gl_shader_info
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderobj.c')
-rw-r--r-- | src/mesa/main/shaderobj.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/shaderobj.c b/src/mesa/main/shaderobj.c index 131d6824df0..0075a6d6429 100644 --- a/src/mesa/main/shaderobj.c +++ b/src/mesa/main/shaderobj.c @@ -92,9 +92,9 @@ static void _mesa_init_shader(struct gl_shader *shader) { shader->RefCount = 1; - shader->Geom.VerticesOut = -1; - shader->Geom.InputType = GL_TRIANGLES; - shader->Geom.OutputType = GL_TRIANGLE_STRIP; + shader->info.Geom.VerticesOut = -1; + shader->info.Geom.InputType = GL_TRIANGLES; + shader->info.Geom.OutputType = GL_TRIANGLE_STRIP; } /** |