Format the generic vertex attribute values correctly according to type

This commit is contained in:
baldurk
2015-02-10 16:59:19 +00:00
parent 7da38a9a8b
commit 3e4aba535f
5 changed files with 46 additions and 6 deletions
+1 -1
View File
@@ -470,7 +470,7 @@ void Serialiser::Serialise(const char *name, GLPipelineState::VertexInput::Verte
{
Serialise("", el.Enabled);
Serialise("", el.Format);
Serialise<4>("", &el.GenericValue.x);
Serialise<4>("", el.GenericValue.f);
Serialise("", el.BufferSlot);
Serialise("", el.RelativeOffset);