mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
Revert "mesa: Fix helgrind complaint about one-time init"
This reverts commit f7102ac376.
Acked-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7760>
This commit is contained in:
parent
1f6e03c3bf
commit
8fffcbce9b
1 changed files with 2 additions and 4 deletions
|
|
@ -36,7 +36,6 @@
|
|||
* Thanks guys!
|
||||
*/
|
||||
|
||||
#include "util/debug.h"
|
||||
|
||||
#include "main/glheader.h"
|
||||
#include "main/config.h"
|
||||
|
|
@ -457,7 +456,6 @@ _math_init_eval(void)
|
|||
|
||||
/* KW: precompute 1/x for useful x.
|
||||
*/
|
||||
do_once
|
||||
for (i = 1; i < MAX_EVAL_ORDER; i++)
|
||||
inv_tab[i] = 1.0F / i;
|
||||
for (i = 1; i < MAX_EVAL_ORDER; i++)
|
||||
inv_tab[i] = 1.0F / i;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue