Skip to content

Commit

Permalink
Shaders: fix the non-deprecated ES2 build.
Browse files Browse the repository at this point in the history
The initializer list is needed for Phong lights as well, not just (ES3+
only) skinning stuff.
  • Loading branch information
mosra committed Jan 18, 2023
1 parent 5306542 commit 632bf93
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Magnum/Shaders/PhongGL.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,14 @@
* @m_since_latest
*/

#include <initializer_list>
#include <Corrade/Utility/Move.h>

#include "Magnum/GL/AbstractShaderProgram.h"
#include "Magnum/Shaders/GenericGL.h"
#include "Magnum/Shaders/glShaderWrapper.h"
#include "Magnum/Shaders/visibility.h"

#ifndef MAGNUM_TARGET_GLES2
#include <initializer_list>
#endif

namespace Magnum { namespace Shaders {

/**
Expand Down

0 comments on commit 632bf93

Please sign in to comment.