Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(640)

Unified Diff: gpu/command_buffer/tests/gl_tests_main.cc

Issue 10181009: Fix gl_tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/tests/gl_tests_main.cc
diff --git a/gpu/command_buffer/tests/gl_tests_main.cc b/gpu/command_buffer/tests/gl_tests_main.cc
index 60b2e7ad4eff73a9a1a6e17f53dbab8a72300b67..326ef5ef78f02534030e592d74a99029de23ad44 100644
--- a/gpu/command_buffer/tests/gl_tests_main.cc
+++ b/gpu/command_buffer/tests/gl_tests_main.cc
@@ -5,6 +5,7 @@
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/message_loop.h"
+#include "gpu/command_buffer/client/gles2_lib.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/gl/gl_surface.h"
@@ -20,6 +21,7 @@ int main(int argc, char** argv) {
gfx::GtkInitFromCommandLine(*CommandLine::ForCurrentProcess());
#endif
gfx::GLSurface::InitializeOneOff();
+ ::gles2::Initialize();
MessageLoop::Type message_loop_type = MessageLoop::TYPE_UI;
MessageLoop main_message_loop(message_loop_type);
testing::InitGoogleMock(&argc, argv);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698