зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 58d155b0b54a (bug 1624768) for mochitest failures at test_2_conformance2__renderbuffers__multisampled-depth-renderbuffer-initialization.html.
This commit is contained in:
Родитель
64e6f10659
Коммит
4d9cd18676
|
@ -3181,14 +3181,6 @@ void ClientWebGLContext::RenderbufferStorageMultisample(GLenum target,
|
|||
return;
|
||||
}
|
||||
|
||||
if (internalFormat == LOCAL_GL_DEPTH_STENCIL && samples > 0) {
|
||||
// While our backend supports it trivially, the spec forbids it.
|
||||
EnqueueError(LOCAL_GL_INVALID_OPERATION,
|
||||
"WebGL 1's DEPTH_STENCIL format may not be multisampled. Use "
|
||||
"DEPTH24_STENCIL8 when `samples > 0`.");
|
||||
return;
|
||||
}
|
||||
|
||||
Run<RPROC(RenderbufferStorageMultisample)>(
|
||||
rb->mId, static_cast<uint32_t>(samples), internalFormat,
|
||||
static_cast<uint32_t>(width), static_cast<uint32_t>(height));
|
||||
|
|
Загрузка…
Ссылка в новой задаче