We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b2cbc1 commit a2f7555Copy full SHA for a2f7555
impeller/renderer/command.cc
@@ -4,13 +4,15 @@
4
5
#include "impeller/renderer/command.h"
6
7
+#include "impeller/base/validation.h"
8
#include "impeller/renderer/formats.h"
9
#include "impeller/renderer/vertex_descriptor.h"
10
11
namespace impeller {
12
13
bool Command::BindVertices(const VertexBuffer& buffer) {
- if (index_type == IndexType::kUnknown) {
14
+ if (buffer.index_type == IndexType::kUnknown) {
15
+ VALIDATION_LOG << "Cannot bind vertex buffer with an unknown index type.";
16
return false;
17
}
18
0 commit comments