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_2D_image_multi_rect_vert.glsl')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_2D_image_multi_rect_vert.glsl4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_2D_image_multi_rect_vert.glsl b/source/blender/gpu/shaders/gpu_shader_2D_image_multi_rect_vert.glsl
index f4d8a941a6d..bdc0d37a7ae 100644
--- a/source/blender/gpu/shaders/gpu_shader_2D_image_multi_rect_vert.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_2D_image_multi_rect_vert.glsl
@@ -4,8 +4,7 @@
*/
/* Same as ICON_DRAW_CACHE_SIZE */
-#ifndef USE_GPU_SHADER_CREATE_INFO
-# define MAX_CALLS 16
+#define MAX_CALLS 16
uniform vec4 calls_data[MAX_CALLS * 3];
@@ -13,7 +12,6 @@ out vec2 texCoord_interp;
flat out vec4 finalColor;
in vec2 pos;
-#endif
void main()
{