diff options
author | Brian <brian@yutani.localnet.net> | 2007-03-09 17:02:12 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-03-09 17:02:12 -0700 |
commit | 46bd63819e0fb108d13df0672372e500cf56bbbe (patch) | |
tree | f52bbaf94a8c4974ecf4e50ad8f7ed21514f7742 /src/mesa/shader/slang/library/slang_vertex_builtin.gc | |
parent | ff95925e70877b9cfe65f66c21ea5ee9ae117ca4 (diff) |
use gl_ModelViewProjectionMatrixTranspose in ftransform()
Diffstat (limited to 'src/mesa/shader/slang/library/slang_vertex_builtin.gc')
-rw-r--r-- | src/mesa/shader/slang/library/slang_vertex_builtin.gc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/library/slang_vertex_builtin.gc b/src/mesa/shader/slang/library/slang_vertex_builtin.gc index 84f747075f..20c924a30d 100644 --- a/src/mesa/shader/slang/library/slang_vertex_builtin.gc +++ b/src/mesa/shader/slang/library/slang_vertex_builtin.gc @@ -57,7 +57,7 @@ varying float gl_FogFragCoord; vec4 ftransform() { - __retVal = gl_ModelViewProjectionMatrix * gl_Vertex; + __retVal = gl_Vertex * gl_ModelViewProjectionMatrixTranspose; } |