diff options
author | Eric Anholt <eric@anholt.net> | 2010-05-19 13:30:14 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-06-01 15:15:04 -0700 |
commit | cd512b00633a8f631ad7442c5cdccc608dd432e1 (patch) | |
tree | a8755544777a20a093b3da974428597629239581 | |
parent | f03acfc7d7275b60418fec94f4a7044de486a05c (diff) |
gl_Normal is a vec3 not a vec4.
Fixes CorrectSwizzle1.vert.
-rw-r--r-- | builtin_variables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin_variables.h b/builtin_variables.h index 661da6cf55..b405b46f07 100644 --- a/builtin_variables.h +++ b/builtin_variables.h @@ -47,7 +47,7 @@ static const builtin_variable builtin_110_deprecated_fs_variables[] = { static const builtin_variable builtin_110_deprecated_vs_variables[] = { { ir_var_in, "vec4", "gl_Vertex" }, - { ir_var_in, "vec4", "gl_Normal" }, + { ir_var_in, "vec3", "gl_Normal" }, { ir_var_in, "vec4", "gl_Color" }, { ir_var_in, "vec4", "gl_SecondaryColor" }, { ir_var_in, "vec4", "gl_MultiTexCoord0" }, |