add 2d AA Line examples
This commit is contained in:
@@ -101,12 +101,11 @@ private:
|
||||
|
||||
if(!material_instance->BindUBO(name,ubo))
|
||||
{
|
||||
std::cerr<<"Bind UBO<"<<name.c_str()<<"> to material failed!"<<std::endl;
|
||||
SAFE_CLEAR(ubo);
|
||||
return(nullptr);
|
||||
}
|
||||
|
||||
db->Add(ubo);
|
||||
|
||||
return ubo;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user