diff options
author | Brian <[email protected]> | 2007-11-21 16:03:16 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-11-21 16:03:16 -0700 |
commit | 2112191d452bd76d99ca48f8da17bb49eca595aa (patch) | |
tree | 7c9698e22c3a0ae61f13e60a61ce63937e2be099 /src | |
parent | 9f0b5bba707d6c36896b4b8afad4e6b459da5e99 (diff) |
more simplification, clean-up in draw_set_vertex_info()
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/pipe/draw/draw_vertex.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/pipe/draw/draw_vertex.c b/src/mesa/pipe/draw/draw_vertex.c index 89f54ff1869..a1926d951a5 100644 --- a/src/mesa/pipe/draw/draw_vertex.c +++ b/src/mesa/pipe/draw/draw_vertex.c @@ -98,18 +98,10 @@ draw_set_vertex_info( struct draw_context *draw, const struct vertex_info *info) { assert(info->interp_mode[0] == INTERP_LINEAR); /* should be vert pos */ - assert(info->num_attribs <= PIPE_MAX_SHADER_OUTPUTS); - /* Note that draw-module vertices will consist of the attributes passed - * to this function, plus a header/prefix containing the vertex header - * flags and GLfloat[4] clip pos. - */ - memcpy(&draw->vertex_info, info, sizeof(*info)); - draw_compute_vertex_size(&draw->vertex_info); - /* Need to know vertex size (in words) for vertex copying elsewhere. * Four words per attribute, plus vertex header (uint) and clip * position (float[4]). |