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 'intern/opencolorio/gpu_shader_display_transform.glsl')
-rw-r--r--intern/opencolorio/gpu_shader_display_transform.glsl11
1 files changed, 3 insertions, 8 deletions
diff --git a/intern/opencolorio/gpu_shader_display_transform.glsl b/intern/opencolorio/gpu_shader_display_transform.glsl
index 4a63405045d..372d41dfecb 100644
--- a/intern/opencolorio/gpu_shader_display_transform.glsl
+++ b/intern/opencolorio/gpu_shader_display_transform.glsl
@@ -10,14 +10,9 @@ uniform float image_texture_width;
uniform float image_texture_height;
#endif
-#if __VERSION__ < 130
- varying vec2 texCoord_interp;
- #define fragColor gl_FragColor
-#else
- in vec2 texCoord_interp;
- out vec4 fragColor;
- #define texture2D texture
-#endif
+in vec2 texCoord_interp;
+out vec4 fragColor;
+#define texture2D texture
#ifdef USE_CURVE_MAPPING
/* Curve mapping parameters