From 632bf93a4e8adf03caa39830050c5abd5d27d109 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 18 Jan 2023 19:25:47 +0100 Subject: [PATCH] Shaders: fix the non-deprecated ES2 build. The initializer list is needed for Phong lights as well, not just (ES3+ only) skinning stuff. --- src/Magnum/Shaders/PhongGL.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Magnum/Shaders/PhongGL.h b/src/Magnum/Shaders/PhongGL.h index 97918090f..2cf90d817 100644 --- a/src/Magnum/Shaders/PhongGL.h +++ b/src/Magnum/Shaders/PhongGL.h @@ -32,6 +32,7 @@ * @m_since_latest */ +#include #include #include "Magnum/GL/AbstractShaderProgram.h" @@ -39,10 +40,6 @@ #include "Magnum/Shaders/glShaderWrapper.h" #include "Magnum/Shaders/visibility.h" -#ifndef MAGNUM_TARGET_GLES2 -#include -#endif - namespace Magnum { namespace Shaders { /**