diff --git a/src/macosx/MacMiniFB.m b/src/macosx/MacMiniFB.m index 3f3c334..933f095 100644 --- a/src/macosx/MacMiniFB.m +++ b/src/macosx/MacMiniFB.m @@ -55,7 +55,7 @@ NSString* g_shadersSrc = @ "float4 position [[position]];\n" "};\n" - "vertex VertexOutput vertFunc2(unsigned int vID[[vertex_id]], device Vertex *pos [[buffer(0)]])\n" + "vertex VertexOutput vertFunc2(unsigned int vID[[vertex_id]], const device Vertex *pos [[buffer(0)]])\n" "{\n" "VertexOutput out;\n"