From 6a5a5496f5594398dd6d266acaaa9bada706e439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 8 Aug 2019 20:35:46 +0200 Subject: [PATCH] Shaders: properly test all constructor combinations of Flat. --- src/Magnum/Shaders/Test/FlatGLTest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Magnum/Shaders/Test/FlatGLTest.cpp b/src/Magnum/Shaders/Test/FlatGLTest.cpp index f1728a148..fd52dc222 100644 --- a/src/Magnum/Shaders/Test/FlatGLTest.cpp +++ b/src/Magnum/Shaders/Test/FlatGLTest.cpp @@ -111,7 +111,9 @@ constexpr struct { Flat2D::Flags flags; } ConstructData[]{ {"", {}}, - {"textured", Flat2D::Flag::Textured} + {"textured", Flat2D::Flag::Textured}, + {"alpha mask", Flat2D::Flag::AlphaMask}, + {"alpha mask + textured", Flat2D::Flag::AlphaMask|Flat2D::Flag::Textured} }; const struct {