Index: gpu/command_buffer/common/cmd_buffer_common.h |
=================================================================== |
--- gpu/command_buffer/common/cmd_buffer_common.h (revision 37920) |
+++ gpu/command_buffer/common/cmd_buffer_common.h (working copy) |
@@ -38,7 +38,7 @@ |
Uint32 size:21; |
Uint32 command:11; |
- static const int32 kMaxSize; |
+ static const int32 kMaxSize = (1 << 21) - 1; |
void Init(uint32 _command, int32 _size) { |
DCHECK_LE(_size, kMaxSize); |