| Index: content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc
|
| ===================================================================
|
| --- content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc (revision 98128)
|
| +++ content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc (working copy)
|
| @@ -235,6 +235,12 @@
|
| renderview->OnViewContextSwapBuffersPosted();
|
| #endif
|
| context_->SwapBuffers();
|
| +#if defined(OS_MACOSX)
|
| + // It appears that making the compositor's on-screen context current on
|
| + // other platforms implies this flush. TODO(kbr): this means that the
|
| + // TOUCH build and, in the future, other platforms might need this.
|
| + gl_->Flush();
|
| +#endif
|
| }
|
|
|
| void WebGraphicsContext3DCommandBufferImpl::reshape(int width, int height) {
|
|
|