mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
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:
parent
d9c28dead6
commit
4f99ba6e03
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user