зеркало из https://github.com/mozilla/gecko-dev.git
No bug - Fix typo.
MozReview-Commit-ID: 18W4m40EV7n
This commit is contained in:
Родитель
9125799701
Коммит
21712c58e5
|
@ -89,7 +89,7 @@ WebGL2Context::FramebufferTextureLayer(GLenum target, GLenum attachment,
|
|||
}
|
||||
|
||||
if (!fb)
|
||||
return ErrorInvalidOperation("%a: Xannot modify framebuffer 0.");
|
||||
return ErrorInvalidOperation("%s: Cannot modify framebuffer 0.", funcName);
|
||||
|
||||
fb->FramebufferTextureLayer(funcName, attachment, texture, level, layer);
|
||||
}
|
||||
|
|
|
@ -520,7 +520,7 @@ WebGLProgram::BindAttribLocation(GLuint loc, const nsAString& name)
|
|||
}
|
||||
|
||||
if (StringBeginsWith(name, NS_LITERAL_STRING("gl_"))) {
|
||||
mContext->ErrorInvalidOperation("bindAttribLocation: Can't set the location of a"
|
||||
mContext->ErrorInvalidOperation("bindAttribLocation: Can't set the location of a"
|
||||
" name that starts with 'gl_'.");
|
||||
return;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче