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
Родитель d9c28dead6
Коммит 4f99ba6e03
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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 */