Index: ppapi/proxy/ppb_graphics_3d_proxy.cc |
diff --git a/ppapi/proxy/ppb_graphics_3d_proxy.cc b/ppapi/proxy/ppb_graphics_3d_proxy.cc |
index 0bb74407fabfadb35798d874499a132f9c0047ed..2104cd8927cf64cb9006d7d1aa9d35a31ac90af3 100644 |
--- a/ppapi/proxy/ppb_graphics_3d_proxy.cc |
+++ b/ppapi/proxy/ppb_graphics_3d_proxy.cc |
@@ -382,12 +382,12 @@ gpu::CommandBuffer* Graphics3D::GetCommandBuffer() { |
} |
int32 Graphics3D::DoSwapBuffers() { |
+ gles2_impl()->SwapBuffers(); |
IPC::Message* msg = new PpapiHostMsg_PPBGraphics3D_SwapBuffers( |
API_ID_PPB_GRAPHICS_3D, host_resource()); |
msg->set_unblock(true); |
PluginDispatcher::GetForResource(this)->Send(msg); |
- gles2_impl()->SwapBuffers(); |
return PP_OK_COMPLETIONPENDING; |
} |