add 2d AA Line examples

This commit is contained in:
2020-09-30 14:21:24 +08:00
parent 5844004489
commit 24474df151
13 changed files with 195 additions and 25 deletions

View File

@@ -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;
}