diff options
Diffstat (limited to 'drivers/gles2/shaders/copy.glsl')
-rw-r--r-- | drivers/gles2/shaders/copy.glsl | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gles2/shaders/copy.glsl b/drivers/gles2/shaders/copy.glsl index aa967115da..e833722ac3 100644 --- a/drivers/gles2/shaders/copy.glsl +++ b/drivers/gles2/shaders/copy.glsl @@ -40,7 +40,6 @@ uniform highp mat4 display_transform; #endif void main() { - #if defined(USE_CUBEMAP) || defined(USE_PANORAMA) cube_interp = cube_in; #elif defined(USE_ASYM_PANO) @@ -115,7 +114,6 @@ uniform float custom_alpha; uniform highp mat4 sky_transform; vec4 texturePanorama(sampler2D pano, vec3 normal) { - vec2 st = vec2( atan(normal.x, normal.z), acos(normal.y)); @@ -131,7 +129,6 @@ vec4 texturePanorama(sampler2D pano, vec3 normal) { #endif void main() { - #ifdef USE_PANORAMA vec3 cube_normal = normalize(cube_interp); |