diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-01-17 21:39:27 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-01-17 21:48:00 +0300 |
commit | 844cda8f22f8b28b8892057cbd2070bb06642775 (patch) | |
tree | 5bb252b81bd942c7123cb4c0e3d70a016fb0f4a2 /source/blender/draw/intern | |
parent | e3b3b3207682233978dac5b06aef6748dcc0367c (diff) |
DRW: Make missing uniform debuging print only once
Diffstat (limited to 'source/blender/draw/intern')
-rw-r--r-- | source/blender/draw/intern/draw_manager_data.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_manager_data.c b/source/blender/draw/intern/draw_manager_data.c index 0df1603a860..45365ed299e 100644 --- a/source/blender/draw/intern/draw_manager_data.c +++ b/source/blender/draw/intern/draw_manager_data.c @@ -122,8 +122,6 @@ static void drw_shgroup_uniform(DRWShadingGroup *shgroup, const char *name, } if (location == -1) { - if (G.debug & G_DEBUG_GPU) - fprintf(stderr, "Warning: Pass : %s, Uniform '%s' not found!\n", shgroup->pass_parent->name, name); /* Nice to enable eventually, for now eevee uses uniforms that might not exist. */ // BLI_assert(0); return; |