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:
authorClément Foucault <foucault.clem@gmail.com>2019-04-05 21:46:13 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-04-05 22:15:25 +0300
commit542725d3e97314019ec065beaa54a30793a4a613 (patch)
tree45cb34cce194c74bf54152523589dee05ac6d8c2 /source/blender/gpu
parentfefc9c95e4818768ba08c665111d2e405ae72672 (diff)
GPU: Fix typo
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_codegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c
index 355ca083274..0b69b0c6cd8 100644
--- a/source/blender/gpu/intern/gpu_codegen.c
+++ b/source/blender/gpu/intern/gpu_codegen.c
@@ -1963,7 +1963,7 @@ static bool gpu_pass_shader_validate(GPUPass *pass)
/* Validate against opengl limit. */
if ((frag_samplers_len > GPU_max_textures_frag()) ||
- (frag_samplers_len > GPU_max_textures_vert()))
+ (vert_samplers_len > GPU_max_textures_vert()))
{
return false;
}