Index: mojo/shell/desktop/mojo_main.cc |
diff --git a/mojo/shell/desktop/mojo_main.cc b/mojo/shell/desktop/mojo_main.cc |
index bf1f97387d705cc481352a4d0f575d96cd14101e..991997bc153e4cefee8bef67c0e5f65e0755de84 100644 |
--- a/mojo/shell/desktop/mojo_main.cc |
+++ b/mojo/shell/desktop/mojo_main.cc |
@@ -7,11 +7,14 @@ |
#include "base/command_line.h" |
#include "base/message_loop/message_loop.h" |
#include "mojo/shell/run.h" |
+#include "ui/gl/gl_surface.h" |
int main(int argc, char** argv) { |
base::AtExitManager at_exit; |
CommandLine::Init(argc, argv); |
+ gfx::GLSurface::InitializeOneOff(); |
+ |
base::MessageLoop message_loop(base::MessageLoop::TYPE_UI); |
mojo::shell::Context context; |