From 0fae32706dfde9ae3fb162574ac7fee1578a6f5b Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sat, 23 May 2020 15:19:28 -0300 Subject: [PATCH] Fix a crash on Windows. Resolves #1570. --- src/modules/graphics/vertex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/graphics/vertex.h b/src/modules/graphics/vertex.h index 8d4e75dcc..098f20e59 100644 --- a/src/modules/graphics/vertex.h +++ b/src/modules/graphics/vertex.h @@ -223,9 +223,9 @@ struct BufferBindings struct AttributeInfo { + DataType type; + uint8 components; uint8 bufferIndex; - DataType type : 4; - uint8 components : 4; uint16 offsetFromVertex; };