From 727c3feb1135a9a94f3b541e2624189e6c0f56c6 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Wed, 3 Aug 2016 09:31:07 +0200 Subject: [PATCH] specify the shader version (default is 1.0): reported by glslangValidator --- Shaders/light-ALS.frag | 1 + Shaders/surface-light-ALS.frag | 1 + 2 files changed, 2 insertions(+) diff --git a/Shaders/light-ALS.frag b/Shaders/light-ALS.frag index e52250bdf..5b40b2ceb 100644 --- a/Shaders/light-ALS.frag +++ b/Shaders/light-ALS.frag @@ -1,4 +1,5 @@ // -*-C++-*- +#version 120 uniform sampler2D texture; diff --git a/Shaders/surface-light-ALS.frag b/Shaders/surface-light-ALS.frag index 3dd1bbb40..dd725d75d 100644 --- a/Shaders/surface-light-ALS.frag +++ b/Shaders/surface-light-ALS.frag @@ -1,4 +1,5 @@ // -*-C++-*- +#version 120 uniform sampler2D texture;