Commit b32abc0b authored by gman@chromium.org's avatar gman@chromium.org

Fix gl_tests

TEST=tests run again
BUG=none


Review URL: http://codereview.chromium.org/10181009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133570 0039d316-1c4b-4281-b951-d872f2087c98
parent de039888
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include "base/at_exit.h" #include "base/at_exit.h"
#include "base/command_line.h" #include "base/command_line.h"
#include "base/message_loop.h" #include "base/message_loop.h"
#include "gpu/command_buffer/client/gles2_lib.h"
#include "testing/gmock/include/gmock/gmock.h" #include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h" #include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/gl/gl_surface.h" #include "ui/gfx/gl/gl_surface.h"
...@@ -20,6 +21,7 @@ int main(int argc, char** argv) { ...@@ -20,6 +21,7 @@ int main(int argc, char** argv) {
gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess()); gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess());
#endif #endif
gfx::GLSurface::InitializeOneOff(); gfx::GLSurface::InitializeOneOff();
::gles2::Initialize();
MessageLoop::Type message_loop_type = MessageLoop::TYPE_UI; MessageLoop::Type message_loop_type = MessageLoop::TYPE_UI;
MessageLoop main_message_loop(message_loop_type); MessageLoop main_message_loop(message_loop_type);
testing::InitGoogleMock(&argc, argv); testing::InitGoogleMock(&argc, argv);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment