@@ -805,7 +805,7 @@ bool lovrGraphicsInit(GraphicsConfig* config) {
805
805
806
806
state .vertexFormats [VERTEX_SHAPE ] = (gpu_vertex_format ) {
807
807
.bufferCount = 2 ,
808
- .attributeCount = 5 ,
808
+ .attributeCount = 6 ,
809
809
.bufferStrides [0 ] = sizeof (ShapeVertex ),
810
810
.attributes [0 ] = { 0 , 10 , offsetof(ShapeVertex , position ), GPU_TYPE_F32x3 },
811
811
.attributes [1 ] = { 0 , 11 , offsetof(ShapeVertex , normal ), GPU_TYPE_F32x3 },
@@ -817,7 +817,7 @@ bool lovrGraphicsInit(GraphicsConfig* config) {
817
817
818
818
state .vertexFormats [VERTEX_POINT ] = (gpu_vertex_format ) {
819
819
.bufferCount = 2 ,
820
- .attributeCount = 5 ,
820
+ .attributeCount = 6 ,
821
821
.bufferStrides [0 ] = 12 ,
822
822
.attributes [0 ] = { 0 , 10 , 0 , GPU_TYPE_F32x3 },
823
823
.attributes [1 ] = { 1 , 11 , 0 , GPU_TYPE_F32x4 },
@@ -829,7 +829,7 @@ bool lovrGraphicsInit(GraphicsConfig* config) {
829
829
830
830
state .vertexFormats [VERTEX_GLYPH ] = (gpu_vertex_format ) {
831
831
.bufferCount = 2 ,
832
- .attributeCount = 5 ,
832
+ .attributeCount = 6 ,
833
833
.bufferStrides [0 ] = sizeof (GlyphVertex ),
834
834
.attributes [0 ] = { 0 , 10 , offsetof(GlyphVertex , position ), GPU_TYPE_F32x2 },
835
835
.attributes [1 ] = { 1 , 11 , 0 , GPU_TYPE_F32x4 },
@@ -841,7 +841,7 @@ bool lovrGraphicsInit(GraphicsConfig* config) {
841
841
842
842
state .vertexFormats [VERTEX_MODEL ] = (gpu_vertex_format ) {
843
843
.bufferCount = 2 ,
844
- .attributeCount = 5 ,
844
+ .attributeCount = 6 ,
845
845
.bufferStrides [0 ] = sizeof (ModelVertex ),
846
846
.attributes [0 ] = { 0 , 10 , offsetof(ModelVertex , position ), GPU_TYPE_F32x3 },
847
847
.attributes [1 ] = { 0 , 11 , offsetof(ModelVertex , normal ), GPU_TYPE_SN10x3 },
@@ -853,7 +853,7 @@ bool lovrGraphicsInit(GraphicsConfig* config) {
853
853
854
854
state .vertexFormats [VERTEX_EMPTY ] = (gpu_vertex_format ) {
855
855
.bufferCount = 2 ,
856
- .attributeCount = 5 ,
856
+ .attributeCount = 6 ,
857
857
.attributes [0 ] = { 1 , 10 , 0 , GPU_TYPE_F32x3 },
858
858
.attributes [1 ] = { 1 , 11 , 0 , GPU_TYPE_F32x3 },
859
859
.attributes [2 ] = { 1 , 12 , 0 , GPU_TYPE_F32x2 },
0 commit comments