Commit b3e2309d authored by dnicoara@chromium.org's avatar dnicoara@chromium.org

[Ozone] Initialize SurfaceFactoryOzone when initializing GL

This code bit was missed when re-factoring in: https://codereview.chromium.org/196403008/

TBR=piman@chromium.org

Review URL: https://codereview.chromium.org/216553007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260186 0039d316-1c4b-4281-b951-d872f2087c98
parent 8067c57c
......@@ -17,6 +17,12 @@ namespace gfx {
// static
bool GLSurface::InitializeOneOffInternal() {
if (gfx::SurfaceFactoryOzone::GetInstance()->InitializeHardware() !=
gfx::SurfaceFactoryOzone::INITIALIZED) {
LOG(ERROR) << "Ozone failed to initialize hardware";
return false;
}
switch (GetGLImplementation()) {
case kGLImplementationEGLGLES2:
if (!GLSurfaceEGL::InitializeOneOff()) {
......
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