mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Bug 1047507. Add a comment about keeping the KnownUniformName enum in sync.
--HG-- extra : rebase_source : 2445dd306a2aa4c3447293d5da88f786c679ced4
This commit is contained in:
parent
1d907f4c12
commit
bd1c7376a3
@ -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",
|
||||
|
@ -46,6 +46,7 @@ enum ShaderFeatures {
|
||||
|
||||
class KnownUniform {
|
||||
public:
|
||||
// this needs to be kept in sync with strings in 'AddUniforms'
|
||||
enum KnownUniformName {
|
||||
NotAKnownUniform = -1,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user