From da0f4de5ff432ddbb7819cce08a3e464372fc782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 1 Nov 2013 16:37:09 +0100 Subject: [PATCH] Shaders: fixed Flat shader. It is now [0] days since last copypaste error. --- src/Shaders/Flat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Shaders/Flat.h b/src/Shaders/Flat.h index f71da8be3..862023537 100644 --- a/src/Shaders/Flat.h +++ b/src/Shaders/Flat.h @@ -74,7 +74,7 @@ template class MAGNUM_SHADERS_EXPORT Flat: public Abstra * * Used only if @ref Flag::Textured is set. */ - typedef Attribute<2, Vector2> TextureCoordinates; + typedef Attribute<1, Vector2> TextureCoordinates; enum: Int { /** Layer for color texture. Used only if @ref Flag::Textured is set. */