Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nicholas Bishop
mesa
Commits
e1aaeb5a
Commit
e1aaeb5a
authored
Jul 20, 2000
by
Keith Whitwell
Browse files
fix for eval regression
parent
1ec0bef9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mesa/main/eval.c
View file @
e1aaeb5a
/* $Id: eval.c,v 1.6.2.
1
2000/07/
17 12:49:5
6 keithw Exp $ */
/* $Id: eval.c,v 1.6.2.
2
2000/07/
20 15:54:0
6 keithw Exp $ */
/*
* Mesa 3-D graphics library
...
...
@@ -2617,14 +2617,15 @@ void gl_eval_vb( struct vertex_buffer *VB )
}
if
(
all_eval
)
{
for
(
i
=
0
;
i
<
count
;
i
++
)
for
(
i
=
0
;
i
<
=
count
;
i
++
)
flags
[
i
]
=
oldflags
[
i
]
|
new_flags
;
andflag
|=
new_flags
;
}
else
{
andflag
=
~
0
;
for
(
i
=
0
;
i
<
count
;
i
++
)
{
if
(
oldflags
[
i
]
&
VERT_EVAL_ANY
)
flags
[
i
]
=
oldflags
[
i
]
|
new_flags
;
for
(
i
=
0
;
i
<=
count
;
i
++
)
{
flags
[
i
]
=
oldflags
[
i
];
if
(
flags
[
i
]
&
VERT_EVAL_ANY
)
flags
[
i
]
|=
new_flags
;
andflag
&=
flags
[
i
];
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment