From b5dc42f332449e43ea89046b17f86419d62891c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 26 Aug 2018 01:49:56 +0200 Subject: [PATCH] Shaders: I f'ed up the Flat shader defaults, again. Leftover from 0e9cb6945e676c9fe2fe72c5766ff53d1af68f1e. Documented properly, but not implemented. I *need* the shader tests ASAP. --- src/Magnum/Shaders/Flat.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Shaders/Flat.frag b/src/Magnum/Shaders/Flat.frag index 0686fc8ca..e779889e8 100644 --- a/src/Magnum/Shaders/Flat.frag +++ b/src/Magnum/Shaders/Flat.frag @@ -40,7 +40,7 @@ uniform lowp sampler2D textureData; layout(location = 1) #endif uniform lowp vec4 color - #if !defined(GL_ES) && defined(TEXTURED) + #ifndef GL_ES = vec4(1.0) #endif ;