Index: gpu/command_buffer/common/gles2_cmd_utils.h |
=================================================================== |
--- gpu/command_buffer/common/gles2_cmd_utils.h (revision 187725) |
+++ gpu/command_buffer/common/gles2_cmd_utils.h (working copy) |
@@ -137,7 +137,8 @@ |
static uint32 GetChannelsForFormat(int format); |
// Returns a bitmask for the channels the given attachment type needs. |
- static uint32 GetChannelsNeededForAttachmentType(int type); |
+ static uint32 GetChannelsNeededForAttachmentType( |
+ int type, uint32 max_color_attachments); |
static bool IsNPOT(uint32 value) { |
return value > 0 && (value & (value - 1)) != 0; |