Revert assert, Eevee uses uniforms that might not exist
This commit is contained in:
@@ -623,7 +623,8 @@ static void DRW_interface_uniform(DRWShadingGroup *shgroup, const char *name,
|
|||||||
if (uni->location == -1) {
|
if (uni->location == -1) {
|
||||||
if (G.debug & G_DEBUG)
|
if (G.debug & G_DEBUG)
|
||||||
fprintf(stderr, "Uniform '%s' not found!\n", name);
|
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);
|
MEM_freeN(uni);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user