Plib is willing callbacks to return 0, 1 or 2 and not simply a boolean
This commit is contained in:
@@ -43,7 +43,7 @@ model_filter = true;
|
||||
static int
|
||||
model_filter_callback (ssgEntity * entity, int mask)
|
||||
{
|
||||
return model_filter;
|
||||
return model_filter ? 1 : 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user