Commit dab86621 authored by thakis@chromium.org's avatar thakis@chromium.org

Attempt to fix Linux ChromiumOS Ozone Builder after r290136.

BUG=
TBR=jamesr@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#290146}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290146 0039d316-1c4b-4281-b951-d872f2087c98
parent 0f0eb8c5
...@@ -154,7 +154,8 @@ scoped_refptr<GLSurface> GLSurface::CreateOffscreenGLSurface( ...@@ -154,7 +154,8 @@ scoped_refptr<GLSurface> GLSurface::CreateOffscreenGLSurface(
const gfx::Size& size) { const gfx::Size& size) {
switch (GetGLImplementation()) { switch (GetGLImplementation()) {
case kGLImplementationOSMesaGL: { case kGLImplementationOSMesaGL: {
scoped_refptr<GLSurface> surface(new GLSurfaceOSMesa(1, size)); scoped_refptr<GLSurface> surface(
new GLSurfaceOSMesa(OSMesaSurfaceFormatBGRA, size));
if (!surface->Initialize()) if (!surface->Initialize())
return NULL; return NULL;
......
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