Add std140 layout qualifier to DrawData block;
@@ -30,7 +30,7 @@ const char* lovrShaderVertexPrefix = ""
" mat4 model; \n"
" vec4 color; \n"
"}; \n"
-"uniform lovrDrawData { \n"
+"layout(std140) uniform lovrDrawData { \n"
" DrawData lovrDraws[MAX_DRAWS]; \n"
"}; \n"
"uniform mat4 lovrViews[2]; \n"
