| Index: command_buffer/service/cross/gl/gapi_gl.cc
|
| ===================================================================
|
| --- command_buffer/service/cross/gl/gapi_gl.cc (revision 26885)
|
| +++ command_buffer/service/cross/gl/gapi_gl.cc (working copy)
|
| @@ -403,9 +403,9 @@
|
| glClearColor(color.red, color.green, color.blue, color.alpha);
|
| glClearDepth(depth);
|
| glClearStencil(stencil);
|
| - glClear((buffers & COLOR ? GL_COLOR_BUFFER_BIT : 0) |
|
| - (buffers & DEPTH ? GL_DEPTH_BUFFER_BIT : 0) |
|
| - (buffers & STENCIL ? GL_STENCIL_BUFFER_BIT : 0));
|
| + glClear((buffers & kColor ? GL_COLOR_BUFFER_BIT : 0) |
|
| + (buffers & kDepth ? GL_DEPTH_BUFFER_BIT : 0) |
|
| + (buffers & kStencil ? GL_STENCIL_BUFFER_BIT : 0));
|
| CHECK_GL_ERROR();
|
| }
|
|
|
|
|