diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-12-03 17:24:21 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-12-03 19:19:11 +0300 |
commit | 95eca49e545dbe100a400bf84ec0a95e0091289a (patch) | |
tree | 359fe38314db2ed92f7d1adff8940b05d683e2be /source/blender | |
parent | 0759480529c6d31271117ad2ae8083f6a0beb528 (diff) |
DRW: Make default debug mode a bit more silent
Use --debug-gpu for debugging non found uniforms
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/intern/draw_manager_data.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_manager_data.c b/source/blender/draw/intern/draw_manager_data.c index e9d874bd1ee..1f6f95456a1 100644 --- a/source/blender/draw/intern/draw_manager_data.c +++ b/source/blender/draw/intern/draw_manager_data.c @@ -122,8 +122,8 @@ static void drw_shgroup_uniform(DRWShadingGroup *shgroup, const char *name, } if (location == -1) { - if (G.debug & G_DEBUG) - fprintf(stderr, "Pass : %s, Uniform '%s' not found!\n", shgroup->pass_parent->name, name); + 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; |