[Bf-blender-cvs] [542725d3e97] master: GPU: Fix typo
Clément Foucault
noreply at git.blender.org
Fri Apr 5 21:15:31 CEST 2019
Commit: 542725d3e97314019ec065beaa54a30793a4a613
Author: Clément Foucault
Date: Fri Apr 5 20:46:13 2019 +0200
Branches: master
https://developer.blender.org/rB542725d3e97314019ec065beaa54a30793a4a613
GPU: Fix typo
===================================================================
M source/blender/gpu/intern/gpu_codegen.c
===================================================================
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;
}
More information about the Bf-blender-cvs
mailing list