Don't do anything if there are no vertices submitted
This commit is contained in:
parent
4355d0f224
commit
f712f00602
|
@ -1106,6 +1106,11 @@ static void submitVertices(GLenum mode, GLsizei first, GLuint count, GLenum type
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* No vertices? Do nothing */
|
||||||
|
if(!count) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
static SubmissionTarget* target = NULL;
|
static SubmissionTarget* target = NULL;
|
||||||
static AlignedVector extras;
|
static AlignedVector extras;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user