mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
draw: add missing break (Jakob)
This commit is contained in:
parent
1e3087cd03
commit
d6a965972b
1 changed files with 2 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ emit_vertex( struct vbuf_stage *vbuf,
|
|||
vbuf->translate->set_buffer(vbuf->translate, 0, vertex->data[0], 0);
|
||||
vbuf->translate->run(vbuf->translate, 0, 1, vbuf->vertex_ptr);
|
||||
|
||||
if (0) draw_dump_emitted_vertex(vbuf->vinfo, (uint8_t *)vbuf->vertex_ptr);
|
||||
if (1) draw_dump_emitted_vertex(vbuf->vinfo, (uint8_t *)vbuf->vertex_ptr);
|
||||
|
||||
vbuf->vertex_ptr += vbuf->vertex_size/4;
|
||||
vertex->vertex_id = vbuf->nr_vertices++;
|
||||
|
|
@ -254,6 +254,7 @@ vbuf_set_prim( struct vbuf_stage *vbuf, uint prim )
|
|||
case EMIT_4UB:
|
||||
output_format = PIPE_FORMAT_B8G8R8A8_UNORM;
|
||||
emit_sz = 4 * sizeof(ubyte);
|
||||
break;
|
||||
default:
|
||||
assert(0);
|
||||
output_format = PIPE_FORMAT_NONE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue