Browse Source

Revert "Shaders: somehow I need to enable the extension also on ES3."

Apparently not needed anymore with recent drivers.

This reverts commit 331433effa.
pull/68/head
Vladimír Vondruš 12 years ago
parent
commit
adccc04c9a
  1. 4
      src/Magnum/Shaders/MeshVisualizer.frag

4
src/Magnum/Shaders/MeshVisualizer.frag

@ -36,9 +36,7 @@
#define layout(arg)
#endif
/* This is needed also on desktop ES 3.0 emulation on NVidia 330.20 even though
fwidth() is part of GLSL ES 3.0 */
#if defined(WIREFRAME_RENDERING) && defined(GL_ES)
#if defined(WIREFRAME_RENDERING) && defined(GL_ES) && __VERSION__ < 300
#extension GL_OES_standard_derivatives : enable
#endif

Loading…
Cancel
Save