Bug 1288829 - Early return from bad bracket in CompositorOGL.cpp#l355 r=BenWa

MozReview-Commit-ID: 31rNnuNzFmE

--HG--
extra : rebase_source : 70cefa79c9ebb04d659e77170508eed525514a44
This commit is contained in:
eyim 2016-07-22 16:53:07 -04:00
parent d9c28dead6
commit 4f99ba6e03

View File

@ -350,9 +350,10 @@ CompositorOGL::Initialize(nsCString* const out_failureReason)
* texture rectangle access inside GLSL (sampler2DRect,
* texture2DRect).
*/
if (!mGLContext->IsExtensionSupported(gl::GLContext::ARB_texture_rectangle))
if (!mGLContext->IsExtensionSupported(gl::GLContext::ARB_texture_rectangle)){
*out_failureReason = "FEATURE_FAILURE_OPENGL_ARB_EXT";
return false;
}
}
/* Create a simple quad VBO */