aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-09-12 15:56:30 -0700
committerDylan Baker <[email protected]>2020-04-21 11:09:03 -0700
commitb85775900d084e3d27f269c3bd336b9aa356b98d (patch)
tree3bec5036b41b03041227d9b82a00dac82ed8fa25 /src/mesa/vbo
parent9ee6e78a8716eed09a088dad2d6153373423a565 (diff)
replace malloc macros in imports.h with u_memory.h versions
Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Matt Turner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3024>
Diffstat (limited to 'src/mesa/vbo')
-rw-r--r--src/mesa/vbo/vbo_context.c1
-rw-r--r--src/mesa/vbo/vbo_minmax_index.c1
-rw-r--r--src/mesa/vbo/vbo_save_api.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_context.c b/src/mesa/vbo/vbo_context.c
index ad23655e6f0..06786e13bdb 100644
--- a/src/mesa/vbo/vbo_context.c
+++ b/src/mesa/vbo/vbo_context.c
@@ -32,6 +32,7 @@
#include "main/api_arrayelt.h"
#include "main/arrayobj.h"
#include "main/varray.h"
+#include "util/u_memory.h"
#include "vbo.h"
#include "vbo_private.h"
diff --git a/src/mesa/vbo/vbo_minmax_index.c b/src/mesa/vbo/vbo_minmax_index.c
index ed3d5c607de..62c8b6466f6 100644
--- a/src/mesa/vbo/vbo_minmax_index.c
+++ b/src/mesa/vbo/vbo_minmax_index.c
@@ -33,6 +33,7 @@
#include "main/sse_minmax.h"
#include "x86/common_x86_asm.h"
#include "util/hash_table.h"
+#include "util/u_memory.h"
struct minmax_cache_key {
diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c
index 4e96fc79343..1e09f7dbb89 100644
--- a/src/mesa/vbo/vbo_save_api.c
+++ b/src/mesa/vbo/vbo_save_api.c
@@ -82,6 +82,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "main/state.h"
#include "main/varray.h"
#include "util/bitscan.h"
+#include "util/u_memory.h"
#include "vbo_noop.h"
#include "vbo_private.h"