Skip to content

Commit

Permalink
Revert spacing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bungoboingo committed Nov 8, 2022
1 parent bbdffb1 commit 1cf75cd
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 26 deletions.
14 changes: 7 additions & 7 deletions glow/src/shader/common/gradient.frag
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
14 changes: 7 additions & 7 deletions glow/src/shader/common/triangle.frag
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
10 changes: 5 additions & 5 deletions glow/src/shader/compatibility/quad.frag
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
14 changes: 7 additions & 7 deletions glow/src/shader/core/quad.frag
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 1cf75cd

Please sign in to comment.