If someone attempts to use lines, just log an error and render nothing (for now)
This commit is contained in:
parent
83bad86bca
commit
4170655a88
|
@ -1024,6 +1024,11 @@ static void submitVertices(GLenum mode, GLsizei first, GLuint count, GLenum type
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(mode == GL_LINE_STRIP || mode == GL_LINES) {
|
||||||
|
fprintf(stderr, "Line drawing is currently unsupported\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
static SubmissionTarget* target = NULL;
|
static SubmissionTarget* target = NULL;
|
||||||
static AlignedVector extras;
|
static AlignedVector extras;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user