From 1cf75cdb865cc75df085c0b713363a4c1b1ee276 Mon Sep 17 00:00:00 2001 From: bungoboingo Date: Tue, 8 Nov 2022 13:40:46 -0800 Subject: [PATCH] Revert spacing changes --- glow/src/shader/common/gradient.frag | 14 +++++++------- glow/src/shader/common/triangle.frag | 14 +++++++------- glow/src/shader/compatibility/quad.frag | 10 +++++----- glow/src/shader/core/quad.frag | 14 +++++++------- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/glow/src/shader/common/gradient.frag b/glow/src/shader/common/gradient.frag index 2a42e7b42f..9af0cb6e36 100644 --- a/glow/src/shader/common/gradient.frag +++ b/glow/src/shader/common/gradient.frag @@ -1,14 +1,14 @@ #ifdef GL_ES - #ifdef GL_FRAGMENT_PRECISION_HIGH - precision highp float; - #else - precision mediump float; - #endif +#ifdef GL_FRAGMENT_PRECISION_HIGH +precision highp float; +#else +precision mediump float; +#endif #endif #ifdef HIGHER_THAN_300 - layout (location = 0) out vec4 fragColor; - #define gl_FragColor fragColor +layout (location = 0) out vec4 fragColor; +#define gl_FragColor fragColor #endif in vec2 raw_position; diff --git a/glow/src/shader/common/triangle.frag b/glow/src/shader/common/triangle.frag index 4330e0ca46..8260f6a6dc 100644 --- a/glow/src/shader/common/triangle.frag +++ b/glow/src/shader/common/triangle.frag @@ -1,14 +1,14 @@ #ifdef GL_ES - #ifdef GL_FRAGMENT_PRECISION_HIGH - precision highp float; - #else - precision mediump float; - #endif +#ifdef GL_FRAGMENT_PRECISION_HIGH +precision highp float; +#else +precision mediump float; +#endif #endif #ifdef HIGHER_THAN_300 - out vec4 fragColor; - #define gl_FragColor fragColor +out vec4 fragColor; +#define gl_FragColor fragColor #endif uniform vec4 color; diff --git a/glow/src/shader/compatibility/quad.frag b/glow/src/shader/compatibility/quad.frag index 540fa59bb7..8ea5693d1d 100644 --- a/glow/src/shader/compatibility/quad.frag +++ b/glow/src/shader/compatibility/quad.frag @@ -1,9 +1,9 @@ #ifdef GL_ES - #ifdef GL_FRAGMENT_PRECISION_HIGH - precision highp float; - #else - precision mediump float; - #endif +#ifdef GL_FRAGMENT_PRECISION_HIGH +precision highp float; +#else +precision mediump float; +#endif #endif uniform float u_ScreenHeight; diff --git a/glow/src/shader/core/quad.frag b/glow/src/shader/core/quad.frag index 44ee0b19aa..57e2e8e737 100644 --- a/glow/src/shader/core/quad.frag +++ b/glow/src/shader/core/quad.frag @@ -1,14 +1,14 @@ #ifdef GL_ES - #ifdef GL_FRAGMENT_PRECISION_HIGH - precision highp float; - #else - precision mediump float; - #endif +#ifdef GL_FRAGMENT_PRECISION_HIGH +precision highp float; +#else +precision mediump float; +#endif #endif #ifdef HIGHER_THAN_300 - out vec4 fragColor; - #define gl_FragColor fragColor +out vec4 fragColor; +#define gl_FragColor fragColor #endif uniform float u_ScreenHeight;