From adccc04c9a94baf4bf2786f8f17691c3bf386783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 12 Aug 2014 21:44:29 +0200 Subject: [PATCH] Revert "Shaders: somehow I need to enable the extension also on ES3." Apparently not needed anymore with recent drivers. This reverts commit 331433effa7ed5d2ff9a6f279ef18564a1413bf5. --- src/Magnum/Shaders/MeshVisualizer.frag | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Magnum/Shaders/MeshVisualizer.frag b/src/Magnum/Shaders/MeshVisualizer.frag index 5c985ec14..cb011cdf0 100644 --- a/src/Magnum/Shaders/MeshVisualizer.frag +++ b/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