Parammanagers are really not done well. Added manager-specific shader lists instead of just having them dig down the global list every update.
This commit is contained in:
@@ -129,6 +129,8 @@ public:
|
||||
LLWLParamManager();
|
||||
~LLWLParamManager();
|
||||
|
||||
void updateShaderLinks();
|
||||
|
||||
/// load a preset file
|
||||
void loadPresets(const std::string & fileName);
|
||||
|
||||
@@ -254,6 +256,7 @@ public:
|
||||
|
||||
|
||||
private:
|
||||
std::vector<LLGLSLShader *> mShaderList;
|
||||
// our parameter manager singleton instance
|
||||
static LLWLParamManager * sInstance;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user