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. */