| Index: gpu/command_buffer/client/gles2_implementation.h
|
| diff --git a/gpu/command_buffer/client/gles2_implementation.h b/gpu/command_buffer/client/gles2_implementation.h
|
| index 04e2c8a706d39091f90bb3977d6d641aec8ea05b..1685ba0d98a31c8c9bf9a28907707ff2ba87c31c 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation.h
|
| +++ b/gpu/command_buffer/client/gles2_implementation.h
|
| @@ -76,6 +76,10 @@
|
| GPU_CLIENT_VALIDATE_DESTINATION_INITALIZATION_ASSERT(ptr && \
|
| (ptr[0] == static_cast<type>(0) || ptr[0] == static_cast<type>(-1)));
|
|
|
| +#define GPU_CLIENT_VALIDATE_DESTINATION_OPTIONAL_INITALIZATION(type, ptr) \
|
| + GPU_CLIENT_VALIDATE_DESTINATION_INITALIZATION_ASSERT(!ptr || \
|
| + (ptr[0] == static_cast<type>(0) || ptr[0] == static_cast<type>(-1)));
|
| +
|
| struct GLUniformDefinitionCHROMIUM;
|
|
|
| namespace gpu {
|
|
|