From 4d43be4d8fad098979be3bcd04a29cd457fe503f Mon Sep 17 00:00:00 2001 From: gered Date: Thu, 22 Aug 2013 09:00:13 -0400 Subject: [PATCH] fix incorrect attribute index --- .../Graphics/BuiltinShaders/SimpleTextureVertexLerpShader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Blarg.GameFramework/Graphics/BuiltinShaders/SimpleTextureVertexLerpShader.cs b/Blarg.GameFramework/Graphics/BuiltinShaders/SimpleTextureVertexLerpShader.cs index aaddf99..246ef9a 100644 --- a/Blarg.GameFramework/Graphics/BuiltinShaders/SimpleTextureVertexLerpShader.cs +++ b/Blarg.GameFramework/Graphics/BuiltinShaders/SimpleTextureVertexLerpShader.cs @@ -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); } }