Fix struct definition in UBO;
You can't define a new struct in an interface block.
@@ -26,11 +26,12 @@ const char* lovrShaderVertexPrefix = ""
"out vec2 texCoord; \n"
"out vec4 vertexColor; \n"
"out vec4 lovrColor; \n"
-"uniform lovrDrawData { \n"
-" struct { \n"
+"struct DrawData { \n"
" mat4 model; \n"
" vec4 color; \n"
-" } lovrDraws[MAX_DRAWS]; \n"
+"}; \n"
+"uniform lovrDrawData { \n"
+" DrawData lovrDraws[MAX_DRAWS]; \n"
"}; \n"
"uniform mat4 lovrViews[2]; \n"
"uniform mat4 lovrProjections[2]; \n"
