| Index: gpu/command_buffer/service/context_group.h
|
| diff --git a/gpu/command_buffer/service/context_group.h b/gpu/command_buffer/service/context_group.h
|
| index f2e832f0fd51add020e914621d30528f8ea7965c..95cd4be2a92b9bc20c29d0fc0246c1a8ef97f8c6 100644
|
| --- a/gpu/command_buffer/service/context_group.h
|
| +++ b/gpu/command_buffer/service/context_group.h
|
| @@ -202,6 +202,12 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
|
|
|
| bool GetTransformFeedbackServiceId(
|
| GLuint client_id, GLuint* service_id) const {
|
| + if (client_id == 0) {
|
| + // Default one.
|
| + if (service_id)
|
| + *service_id = 0;
|
| + return true;
|
| + }
|
| base::hash_map<GLuint, GLuint>::const_iterator iter =
|
| transformfeedbacks_id_map_.find(client_id);
|
| if (iter == transformfeedbacks_id_map_.end())
|
|
|