Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2021-09-06 06:25:36 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2021-09-06 06:25:36 +0300
commit91bca410c0e08c6d1cd227336df91faddab7a767 (patch)
tree792b526cf4e5fbdf339fb104a11ab468148c5da7 /source/blender/draw/engines/overlay
parentbf0ac711fde2e0439af117f73ab1b3a758969348 (diff)
Cleanup: clang-format
Diffstat (limited to 'source/blender/draw/engines/overlay')
-rw-r--r--source/blender/draw/engines/overlay/shaders/grid_background_frag.glsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/engines/overlay/shaders/grid_background_frag.glsl b/source/blender/draw/engines/overlay/shaders/grid_background_frag.glsl
index fcc05414ea3..f09918da6dc 100644
--- a/source/blender/draw/engines/overlay/shaders/grid_background_frag.glsl
+++ b/source/blender/draw/engines/overlay/shaders/grid_background_frag.glsl
@@ -6,7 +6,7 @@ out vec4 fragColor;
void main()
{
- fragColor = color;
- float scene_depth = texelFetch(depthBuffer, ivec2(gl_FragCoord.xy), 0).r;
- fragColor.a = (scene_depth == 1.0) ? 1.0 : 0.0;
+ fragColor = color;
+ float scene_depth = texelFetch(depthBuffer, ivec2(gl_FragCoord.xy), 0).r;
+ fragColor.a = (scene_depth == 1.0) ? 1.0 : 0.0;
}