added RenderQueue
This commit is contained in:
@ -17,7 +17,7 @@ namespace BlueCore
|
||||
{
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
void Model::render()
|
||||
void Model::render(RenderDevice *device) const
|
||||
{
|
||||
ModelMesh->render();
|
||||
//glEnable(GL_LIGHTING);
|
||||
@ -208,7 +208,7 @@ Model *ModelManager::loadModel(const string &name)
|
||||
|
||||
if (result != _Models.end() )
|
||||
{
|
||||
return result->second.get();
|
||||
return result->second.pointer();
|
||||
}
|
||||
|
||||
string filename = name + ".model.xml";
|
||||
|
Reference in New Issue
Block a user