Bug 1908380 - Check for context loss in WebGLVertexArrayJS::WebGLVertexArrayJS. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D217634
This commit is contained in:
@@ -6718,7 +6718,7 @@ WebGLTransformFeedbackJS::WebGLTransformFeedbackJS(
|
||||
|
||||
WebGLVertexArrayJS::WebGLVertexArrayJS(const ClientWebGLContext* const webgl)
|
||||
: webgl::ObjectJS(webgl),
|
||||
mAttribBuffers(webgl ? webgl->Limits().maxVertexAttribs : 0) {}
|
||||
mAttribBuffers(Context() ? Context()->Limits().maxVertexAttribs : 0) {}
|
||||
|
||||
// -
|
||||
|
||||
|
||||
Reference in New Issue
Block a user