fix incorrect attribute index

This commit is contained in:
Gered 2013-08-22 09:00:13 -04:00
parent 9bf514d7bd
commit 4d43be4d8f

View file

@ -14,7 +14,7 @@ namespace Blarg.GameFramework.Graphics.BuiltinShaders
LoadCompileAndLinkInlineSources(vertexSources, fragmentSources);
MapToVBOAttribute("a_position1", 0);
MapToVBOAttribute("a_position2", 0);
MapToVBOAttribute("a_position2", 1);
MapToVBOStandardAttribute("a_texcoord0", VertexStandardAttributes.TexCoord);
}
}