Prechádzať zdrojové kódy

Fix a crash on Windows. Resolves #1570.

Alex Szpakowski 5 rokov pred
rodič
commit
0fae32706d
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      src/modules/graphics/vertex.h

+ 2 - 2
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;
 };