Commit 990fe4c0 authored by Brian's avatar Brian

remove unneeded #includes, added assertion in draw_compute_vertex_size()

parent ec0c5e59
......@@ -34,11 +34,7 @@
*/
#include "pipe/p_defines.h"
#include "pipe/p_util.h"
#include "pipe/draw/draw_private.h"
#include "pipe/draw/draw_context.h"
#include "pipe/draw/draw_vertex.h"
......@@ -86,6 +82,8 @@ draw_compute_vertex_size(struct vertex_info *vinfo)
assert(0);
}
}
assert(vinfo->size * 4 <= MAX_VERTEX_SIZE);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment