Browse Source

Shaders: fix MeshVisualizer on ES3.

I wonder why this issue didn't appear before.
pull/51/head
Vladimír Vondruš 12 years ago
parent
commit
80d93728f6
  1. 2
      src/Magnum/Shaders/MeshVisualizer.vert

2
src/Magnum/Shaders/MeshVisualizer.vert

@ -35,7 +35,7 @@ uniform highp mat4 transformationProjectionMatrix;
#endif
#ifdef EXPLICIT_ATTRIB_LOCATION
layout(location = POSITION_ATTRIBUTE_LOCATION) highp in vec4 position;
layout(location = POSITION_ATTRIBUTE_LOCATION) in highp vec4 position;
#else
in highp vec4 position;
#endif

Loading…
Cancel
Save