[gnome-shell] scroll-view-fade: Remove explicit GLSL version



commit 11bd7dc7deacb9c2d4ad51f7d9dc7ae66e92c58a
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Tue Feb 5 20:32:08 2013 +0100

    scroll-view-fade: Remove explicit GLSL version
    
    Cogl sets this for us since commit 2701b93f159bf2d3387cedf2d06fe921ad5641f3.
    
    Setting it twice is illegal and causes compile failures:
    error C0204: version directive must be first statement and may not be repeated.

 src/st/st-scroll-view-fade.glsl |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/st/st-scroll-view-fade.glsl b/src/st/st-scroll-view-fade.glsl
index 91764a4..4e8ec6a 100644
--- a/src/st/st-scroll-view-fade.glsl
+++ b/src/st/st-scroll-view-fade.glsl
@@ -17,8 +17,6 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 
-#version 120
-
 uniform sampler2D tex;
 uniform float height;
 uniform float width;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]