diff options
author | Mathias Froehlich <[email protected]> | 2015-03-29 18:57:45 +0200 |
---|---|---|
committer | Mathias Froehlich <[email protected]> | 2015-04-05 08:01:47 +0200 |
commit | 29e6c7dbc5bacf4f2b741333ac56469a00164e65 (patch) | |
tree | dce4396bf2dd349906b3c5120d11db4426b98695 /src/mesa/tnl/t_context.h | |
parent | 472913ea7563e136b9ad3d33111925147a044a39 (diff) |
tnl: Maintain the _WindowMap matrix in TNLcontext v2.
This is the only real user of _WindowMap which has the depth
buffer scaling multiplied in. Maintain the _WindowMap of the
one and only viewport inside TNLcontext.
v2:
Remove unneeded parentheses.
Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Mathias Froehlich <[email protected]>
Diffstat (limited to 'src/mesa/tnl/t_context.h')
-rw-r--r-- | src/mesa/tnl/t_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h index e89a7f83677..e7adb5f533e 100644 --- a/src/mesa/tnl/t_context.h +++ b/src/mesa/tnl/t_context.h @@ -514,6 +514,7 @@ typedef struct /* Clipspace/ndc/window vertex managment: */ struct tnl_clipspace clipspace; + GLmatrix _WindowMap; /* Probably need a better configuration mechanism: */ |