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:
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_colorspace_lib.glsl')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_colorspace_lib.glsl2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_colorspace_lib.glsl b/source/blender/gpu/shaders/gpu_shader_colorspace_lib.glsl
index 74341701fb0..aae659516bb 100644
--- a/source/blender/gpu/shaders/gpu_shader_colorspace_lib.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_colorspace_lib.glsl
@@ -2,9 +2,7 @@
/* Undefine the macro that avoids compilation errors. */
#undef blender_srgb_to_framebuffer_space
-#ifndef USE_GPU_SHADER_CREATE_INFO
uniform bool srgbTarget = false;
-#endif
vec4 blender_srgb_to_framebuffer_space(vec4 color)
{