Bug 1047507. Add a comment about keeping the KnownUniformName enum in sync.

--HG--
extra : rebase_source : 2445dd306a2aa4c3447293d5da88f786c679ced4
This commit is contained in:
Jeff Muizelaar 2014-08-01 13:26:46 -04:00
parent 1d907f4c12
commit bd1c7376a3
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ using namespace std;
void
AddUniforms(ProgramProfileOGL& aProfile)
{
// This needs to be kept in sync with the KnownUniformName enum
static const char *sKnownUniformNames[] = {
"uLayerTransform",
"uMaskTransform",

View File

@ -46,6 +46,7 @@ enum ShaderFeatures {
class KnownUniform {
public:
// this needs to be kept in sync with strings in 'AddUniforms'
enum KnownUniformName {
NotAKnownUniform = -1,