diff options
author | Jon Turney <[email protected]> | 2018-04-03 17:52:56 +0100 |
---|---|---|
committer | Jon Turney <[email protected]> | 2018-04-04 14:34:07 +0100 |
commit | 498d9d0f4decb69457857841873e147f1fa6a176 (patch) | |
tree | fe471fd3b921c5916b8b99d5327807f51f20356a /src/mesa/main/texturebindless.c | |
parent | 922cd38172b8a2bc286bd082fde9cad4e278765b (diff) |
Fix use of alloca() without #include <c99_alloca.h>
Fix use of alloca() without #include <c99_alloca.h> in 1da345e5
vbo/vbo_context.c: In function '_vbo_draw_indirect':
vbo/vbo_context.c:284:34: error: implicit declaration of function 'alloca' [-Werror=implicit-function-declaration]
struct _mesa_prim *space = alloca(draw_count*sizeof(struct _mesa_prim));
^~~~~~
vbo/vbo_context.c:284:34: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
Signed-off-by: Jon Turney <[email protected]>
Reviewed-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/main/texturebindless.c')
0 files changed, 0 insertions, 0 deletions