Implemented notification system needed for occlusion culling and transparency sorting
--HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4072
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
|
||||
#import "KRModel.h"
|
||||
|
||||
KRModelManager::KRModelManager() {
|
||||
KRModelManager::KRModelManager(KRContext &context) : KRContextObject(context) {
|
||||
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ KRModelManager::~KRModelManager() {
|
||||
}
|
||||
|
||||
KRModel *KRModelManager::loadModel(const char *szName, const char *szPath) {
|
||||
KRModel *pModel = new KRModel(szName, szPath);
|
||||
KRModel *pModel = new KRModel(*m_pContext, szName, szPath);
|
||||
m_models[szName] = pModel;
|
||||
return pModel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user