| Index: gpu/gles2_conform_support/egl/egl.cc
|
| diff --git a/gpu/gles2_conform_support/egl/egl.cc b/gpu/gles2_conform_support/egl/egl.cc
|
| index a61bf538ffee73f62231a85ddf39bddcae19d44d..5a81954bd10d4ad4368cd603df5a20dfe3306663 100644
|
| --- a/gpu/gles2_conform_support/egl/egl.cc
|
| +++ b/gpu/gles2_conform_support/egl/egl.cc
|
| @@ -143,9 +143,10 @@ EGLAPI EGLBoolean EGLAPIENTRY eglInitialize(EGLDisplay dpy,
|
|
|
| gfx::GLSurface::InitializeOneOff();
|
| }
|
| -
|
| - *major = 1;
|
| - *minor = 4;
|
| + if (major)
|
| + *major = 1;
|
| + if (minor)
|
| + *minor = 4;
|
| return EglSuccess(EGL_TRUE);
|
| }
|
|
|
|
|