Commit 8700a98e by Geoff Lang Committed by Commit Bot

Fix missing return statement in VertexFormat validation.

BUG=angleproject:2063 Change-Id: Idc1c7b42ed0a2545d9ad4f3c645d0dea2c85c11e Reviewed-on: https://chromium-review.googlesource.com/533273Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
parent 4928b7ca
......@@ -4732,6 +4732,7 @@ bool ValidateVertexFormatBase(ValidationContext *context,
if (size < 1 || size > 4)
{
context->handleError(InvalidValue() << "size must be between one and four.");
return false;
}
switch (type)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment