mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-17 04:28:28 +02:00
tnl: Avoid undefined input value use in insert_3f_viewport_2().
Bug #16520.
This commit is contained in:
parent
a0d5c3cfe6
commit
d507cd749b
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ static INLINE void insert_3f_viewport_2( const struct tnl_clipspace_attr *a, GLu
|
|||
DEBUG_INSERT;
|
||||
out[0] = vp[0] * in[0] + vp[12];
|
||||
out[1] = vp[5] * in[1] + vp[13];
|
||||
out[2] = vp[10] * in[2] + vp[14];
|
||||
out[2] = vp[14];
|
||||
}
|
||||
|
||||
static INLINE void insert_3f_viewport_1( const struct tnl_clipspace_attr *a, GLubyte *v,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue