Index: gpu/command_buffer/service/gles2_cmd_decoder.cc |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
index 04a9eb25443cb2a25d52400ba714c850ea63eca6..86a6c672be4160b64833d9fe9597fa11c91b1633 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -2464,6 +2464,7 @@ bool GLES2DecoderImpl::Initialize( |
TRACE_EVENT0("gpu", "GLES2DecoderImpl::Initialize"); |
DCHECK(context->IsCurrent(surface.get())); |
DCHECK(!context_.get()); |
+ DCHECK(!offscreen || !offscreen_size.IsEmpty()); |
hendrikw
2015/04/24 18:33:39
In my first change, I also DCHECK'd that glGetErro
|
ContextCreationAttribHelper attrib_parser; |
if (!attrib_parser.Parse(attribs)) |