Browse Source

Shaders: fixed Flat shader.

It is now [0] days since last copypaste error.
pull/34/head
Vladimír Vondruš 13 years ago
parent
commit
da0f4de5ff
  1. 2
      src/Shaders/Flat.h

2
src/Shaders/Flat.h

@ -74,7 +74,7 @@ template<UnsignedInt dimensions> 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. */

Loading…
Cancel
Save