Revert assert, Eevee uses uniforms that might not exist
This commit is contained in:
parent
9efd3a3f63
commit
dbb1a692f7
|
@ -623,7 +623,8 @@ static void DRW_interface_uniform(DRWShadingGroup *shgroup, const char *name,
|
|||
if (uni->location == -1) {
|
||||
if (G.debug & G_DEBUG)
|
||||
fprintf(stderr, "Uniform '%s' not found!\n", name);
|
||||
BLI_assert(0);
|
||||
/* Nice to enable eventually, for now eevee uses uniforms that might not exist. */
|
||||
// BLI_assert(0);
|
||||
MEM_freeN(uni);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue