Commit 76f56f62 authored by neb@chromium.org's avatar neb@chromium.org

Fix compile warnings that break NaCl build.

BUG=none
TEST=compiles

Review URL: http://codereview.chromium.org/6393006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72614 0039d316-1c4b-4281-b951-d872f2087c98
parent 6533c33e
...@@ -16,7 +16,7 @@ namespace gpu { ...@@ -16,7 +16,7 @@ namespace gpu {
namespace cmd { namespace cmd {
enum ArgFlags { enum ArgFlags {
kFixed = 0x0, kFixed = 0x0,
kAtLeastN = 0x1, kAtLeastN = 0x1
}; };
} // namespace cmd } // namespace cmd
...@@ -167,7 +167,7 @@ enum CommandId { ...@@ -167,7 +167,7 @@ enum CommandId {
#undef COMMON_COMMAND_BUFFER_CMD_OP #undef COMMON_COMMAND_BUFFER_CMD_OP
kNumCommands, kNumCommands,
kLastCommonId = 255, // reserve 256 spaces for common commands. kLastCommonId = 255 // reserve 256 spaces for common commands.
}; };
COMPILE_ASSERT(kNumCommands - 1 <= kLastCommonId, Too_many_common_commands); COMPILE_ASSERT(kNumCommands - 1 <= kLastCommonId, Too_many_common_commands);
......
...@@ -52,7 +52,7 @@ enum IdNamespaces { ...@@ -52,7 +52,7 @@ enum IdNamespaces {
kFramebuffers, kFramebuffers,
kProgramsAndShaders, kProgramsAndShaders,
kRenderbuffers, kRenderbuffers,
kTextures, kTextures
}; };
// These numbers must not change // These numbers must not change
......
...@@ -22,7 +22,7 @@ enum LogLevel { ...@@ -22,7 +22,7 @@ enum LogLevel {
INFO, INFO,
WARNING, WARNING,
ERROR, ERROR,
FATAL, FATAL
}; };
// This is a very simple logger for use in command buffer code. Common and // This is a very simple logger for use in command buffer code. Common and
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment