MozReview-Commit-ID: 18W4m40EV7n
This commit is contained in:
Jeff Gilbert (:jgilbert) 2016-09-28 13:54:07 -07:00
Родитель 9125799701
Коммит 21712c58e5
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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;
}