зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
d9c28dead6
Коммит
4f99ba6e03
|
@ -350,9 +350,10 @@ CompositorOGL::Initialize(nsCString* const out_failureReason)
|
||||||
* texture rectangle access inside GLSL (sampler2DRect,
|
* texture rectangle access inside GLSL (sampler2DRect,
|
||||||
* texture2DRect).
|
* texture2DRect).
|
||||||
*/
|
*/
|
||||||
if (!mGLContext->IsExtensionSupported(gl::GLContext::ARB_texture_rectangle))
|
if (!mGLContext->IsExtensionSupported(gl::GLContext::ARB_texture_rectangle)){
|
||||||
*out_failureReason = "FEATURE_FAILURE_OPENGL_ARB_EXT";
|
*out_failureReason = "FEATURE_FAILURE_OPENGL_ARB_EXT";
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Create a simple quad VBO */
|
/* Create a simple quad VBO */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче