diff options
Diffstat (limited to 'gpu/command_buffer/common/gles2_cmd_utils.h')
-rw-r--r-- | gpu/command_buffer/common/gles2_cmd_utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gpu/command_buffer/common/gles2_cmd_utils.h b/gpu/command_buffer/common/gles2_cmd_utils.h index 014dfa7..525a560 100644 --- a/gpu/command_buffer/common/gles2_cmd_utils.h +++ b/gpu/command_buffer/common/gles2_cmd_utils.h @@ -137,7 +137,8 @@ class GLES2_UTILS_EXPORT GLES2Util { 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; |