OpenGL: Reimplement shader uid debugging.

This commit is contained in:
NeoBrainX
2013-03-29 14:54:44 +01:00
parent f2a8fbb314
commit 41c4108ce6
2 changed files with 67 additions and 2 deletions

View File

@ -51,6 +51,11 @@ public:
return memcmp(this->values, obj.values, sizeof(values)) == 0;
}
bool operator != (const ShaderUid& obj) const
{
return memcmp(this->values, obj.values, sizeof(values)) != 0;
}
// TODO: Store last frame used and order by that? makes much more sense anyway...
bool operator < (const ShaderUid& obj) const
{