gallium: don't rely on assert(0) for error handling - may be disabled

This commit is contained in:
Keith Whitwell 2008-01-29 12:37:07 +00:00
parent f94425b316
commit c185c55aec

View file

@ -298,6 +298,7 @@ st_draw_vbo(GLcontext *ctx,
break;
default:
assert(0);
return;
}
/* get/create the index buffer object */
@ -570,6 +571,7 @@ st_feedback_draw_vbo(GLcontext *ctx,
break;
default:
assert(0);
return;
}
map = pipe->winsys->buffer_map(pipe->winsys,