summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-09-12 15:56:30 -0700
committerDylan Baker <dylan@pnwbakers.com>2020-04-21 11:09:03 -0700
commitb85775900d084e3d27f269c3bd336b9aa356b98d (patch)
tree3bec5036b41b03041227d9b82a00dac82ed8fa25 /src/mesa/tnl
parent9ee6e78a8716eed09a088dad2d6153373423a565 (diff)
replace malloc macros in imports.h with u_memory.h versions
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3024>
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r--src/mesa/tnl/t_context.c1
-rw-r--r--src/mesa/tnl/t_vertex.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c
index ed068f708d0..af87c1f86cf 100644
--- a/src/mesa/tnl/t_context.c
+++ b/src/mesa/tnl/t_context.c
@@ -37,6 +37,7 @@
#include "main/state.h"
#include "main/viewport.h"
#include "util/simple_list.h"
+#include "util/u_memory.h"
#include "tnl.h"
#include "t_context.h"
diff --git a/src/mesa/tnl/t_vertex.c b/src/mesa/tnl/t_vertex.c
index 76ff97720ca..baea953b88f 100644
--- a/src/mesa/tnl/t_vertex.c
+++ b/src/mesa/tnl/t_vertex.c
@@ -29,6 +29,7 @@
#include "main/glheader.h"
#include "main/context.h"
#include "main/execmem.h"
+#include "util/u_memory.h"
#include "swrast/s_chan.h"
#include "t_context.h"
#include "t_vertex.h"