mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1684638 - Remove 'else' after 'return' in dom/canvas/WebGLShaderValidator.cpp. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D100645
This commit is contained in:
parent
8dbf596048
commit
f7895c0e34
@ -101,7 +101,7 @@ static ShCompileOptions ChooseValidatorCompileOptions(
|
||||
static ShShaderOutput ShaderOutput(gl::GLContext* gl) {
|
||||
if (gl->IsGLES()) {
|
||||
return SH_ESSL_OUTPUT;
|
||||
} else {
|
||||
}
|
||||
uint32_t version = gl->ShadingLanguageVersion();
|
||||
switch (version) {
|
||||
case 100:
|
||||
@ -134,7 +134,6 @@ static ShShaderOutput ShaderOutput(gl::GLContext* gl) {
|
||||
}
|
||||
gfxCriticalNote << "Unexpected GLSL version: " << version;
|
||||
}
|
||||
}
|
||||
|
||||
return SH_GLSL_COMPATIBILITY_OUTPUT;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user