Skip to content
Snippets Groups Projects
Commit c3ac5be9 authored by Xiaohong Bao's avatar Xiaohong Bao
Browse files
parents 887516ca 97ef8e0e
No related branches found
No related tags found
No related merge requests found
...@@ -240,7 +240,8 @@ void LLVertexBuffer::setupClientArrays(U32 data_mask) ...@@ -240,7 +240,8 @@ void LLVertexBuffer::setupClientArrays(U32 data_mask)
void LLVertexBuffer::drawArrays(U32 mode, const std::vector<LLVector3>& pos, const std::vector<LLVector3>& norm) void LLVertexBuffer::drawArrays(U32 mode, const std::vector<LLVector3>& pos, const std::vector<LLVector3>& norm)
{ {
U32 count = pos.size(); U32 count = pos.size();
llassert(norm.size() >= pos.size()); llassert_always(norm.size() >= pos.size());
llassert_always(count > 0) ;
unbind(); unbind();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment