X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fui%2Fgl%2Fgl_implementation_mac.cc;h=10114061dce2fb734b7f6f75fa6adc3f2308c76c;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=546a082f7948d2a6ee1bb224d4cca99c5f9d317b;hpb=d1e23c6ec4202b125fc446349b2230d4cd978d86;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ui/gl/gl_implementation_mac.cc b/src/ui/gl/gl_implementation_mac.cc index 546a082..1011406 100644 --- a/src/ui/gl/gl_implementation_mac.cc +++ b/src/ui/gl/gl_implementation_mac.cc @@ -31,8 +31,7 @@ bool InitializeStaticGLBindings(GLImplementation implementation) { // Prevent reinitialization with a different implementation. Once the gpu // unit tests have initialized with kGLImplementationMock, we don't want to // later switch to another GL implementation. - if (GetGLImplementation() != kGLImplementationNone) - return true; + DCHECK_EQ(kGLImplementationNone, GetGLImplementation()); // Allow the main thread or another to initialize these bindings // after instituting restrictions on I/O. Going forward they will