Bug 671185 - Incorrect return of NS_ERROR_* codes in functions returning PRBool, r=mak,ehsan,taras,biesi,pike,khuey,dholbert,josh,bjacob,bsmith
This commit is contained in:
@@ -599,7 +599,7 @@ WebGLContext::InitAndValidateGL()
|
||||
}
|
||||
|
||||
// Check the shader validator pref
|
||||
NS_ENSURE_TRUE(Preferences::GetRootBranch(), NS_ERROR_FAILURE);
|
||||
NS_ENSURE_TRUE(Preferences::GetRootBranch(), PR_FALSE);
|
||||
|
||||
mShaderValidation =
|
||||
Preferences::GetBool("webgl.shader_validator", mShaderValidation);
|
||||
|
||||
Reference in New Issue
Block a user