Chromium Code Reviews| Index: gpu/command_buffer/service/texture_definition.h |
| diff --git a/gpu/command_buffer/service/texture_definition.h b/gpu/command_buffer/service/texture_definition.h |
| index 9ea9357bbc86c175a086647cb9244b90206ec44a..c56010caf5d48c5adc5a3f0cc64a35c59362e34a 100644 |
| --- a/gpu/command_buffer/service/texture_definition.h |
| +++ b/gpu/command_buffer/service/texture_definition.h |
| @@ -29,6 +29,17 @@ class GPU_EXPORT TextureDefinition { |
| GLenum format, |
| GLenum type, |
| bool cleared); |
| + LevelInfo() |
| + : target(0), |
| + internal_format(0), |
| + width(0), |
| + height(0), |
| + depth(0), |
| + border(0), |
| + format(0), |
| + type(0), |
| + cleared(true) {} |
| + |
| GLenum target; |
| GLenum internal_format; |
| GLsizei width; |