remove unneeded #includes, added assertion in draw_compute_vertex_size()

This commit is contained in:
Brian
2007-11-08 16:55:29 -07:00
parent ec0c5e59c2
commit 990fe4c0bf
+2 -4
View File
@@ -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);
}