Add nxt::VertexFormat::FloatR32

This commit is contained in:
Corentin Wallez
2017-07-03 14:01:30 -04:00
committed by Corentin Wallez
parent 4cd65f03b7
commit 8859178703
5 changed files with 12 additions and 1 deletions

View File

@@ -49,6 +49,7 @@ namespace opengl {
case nxt::VertexFormat::FloatR32G32B32A32:
case nxt::VertexFormat::FloatR32G32B32:
case nxt::VertexFormat::FloatR32G32:
case nxt::VertexFormat::FloatR32:
return GL_FLOAT;
}
}