summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer
diff options
context:
space:
mode:
authorneb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 06:44:38 +0000
committerneb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-26 06:44:38 +0000
commit76f56f62e3ba2038ced739f313ffefbbd4fb2416 (patch)
tree4126e056d683c2b0c65b55bfc9ebd082d406f7b7 /gpu/command_buffer
parent6533c33e7d01ea1fa5ebfc9b39011d0010372ec1 (diff)
downloadchromium_src-76f56f62e3ba2038ced739f313ffefbbd4fb2416.zip
chromium_src-76f56f62e3ba2038ced739f313ffefbbd4fb2416.tar.gz
chromium_src-76f56f62e3ba2038ced739f313ffefbbd4fb2416.tar.bz2
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
Diffstat (limited to 'gpu/command_buffer')
-rw-r--r--gpu/command_buffer/common/cmd_buffer_common.h4
-rw-r--r--gpu/command_buffer/common/gles2_cmd_format.h2
-rw-r--r--gpu/command_buffer/common/logging.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/gpu/command_buffer/common/cmd_buffer_common.h b/gpu/command_buffer/common/cmd_buffer_common.h
index b012510..e8bcd43 100644
--- a/gpu/command_buffer/common/cmd_buffer_common.h
+++ b/gpu/command_buffer/common/cmd_buffer_common.h
@@ -16,7 +16,7 @@ namespace gpu {
namespace cmd {
enum ArgFlags {
kFixed = 0x0,
- kAtLeastN = 0x1,
+ kAtLeastN = 0x1
};
} // namespace cmd
@@ -167,7 +167,7 @@ enum CommandId {
#undef COMMON_COMMAND_BUFFER_CMD_OP
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);
diff --git a/gpu/command_buffer/common/gles2_cmd_format.h b/gpu/command_buffer/common/gles2_cmd_format.h
index d32a83f..e0da67d 100644
--- a/gpu/command_buffer/common/gles2_cmd_format.h
+++ b/gpu/command_buffer/common/gles2_cmd_format.h
@@ -52,7 +52,7 @@ enum IdNamespaces {
kFramebuffers,
kProgramsAndShaders,
kRenderbuffers,
- kTextures,
+ kTextures
};
// These numbers must not change
diff --git a/gpu/command_buffer/common/logging.h b/gpu/command_buffer/common/logging.h
index 191f711a..c94bc7a 100644
--- a/gpu/command_buffer/common/logging.h
+++ b/gpu/command_buffer/common/logging.h
@@ -22,7 +22,7 @@ enum LogLevel {
INFO,
WARNING,
ERROR,
- FATAL,
+ FATAL
};
// This is a very simple logger for use in command buffer code. Common and