Title: [265205] trunk/Source/WebCore
- Revision
- 265205
- Author
- commit-qu...@webkit.org
- Date
- 2020-08-03 10:49:15 -0700 (Mon, 03 Aug 2020)
Log Message
[WebGL2] Assert when restoring lost context
https://bugs.webkit.org/show_bug.cgi?id=214999
Patch by James Darpinian <jdarpin...@chromium.org> on 2020-08-03
Reviewed by Darin Adler.
Remove an assert that was wrong when restoring a lost context.
* html/canvas/WebGL2RenderingContext.cpp:
(WebCore::WebGL2RenderingContext::initializeVertexArrayObjects):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (265204 => 265205)
--- trunk/Source/WebCore/ChangeLog 2020-08-03 17:30:53 UTC (rev 265204)
+++ trunk/Source/WebCore/ChangeLog 2020-08-03 17:49:15 UTC (rev 265205)
@@ -1,3 +1,15 @@
+2020-08-03 James Darpinian <jdarpin...@chromium.org>
+
+ [WebGL2] Assert when restoring lost context
+ https://bugs.webkit.org/show_bug.cgi?id=214999
+
+ Reviewed by Darin Adler.
+
+ Remove an assert that was wrong when restoring a lost context.
+
+ * html/canvas/WebGL2RenderingContext.cpp:
+ (WebCore::WebGL2RenderingContext::initializeVertexArrayObjects):
+
2020-08-03 Adrian Perez de Castro <ape...@igalia.com>
Non-unified build fixes, early August 20202 edition
Modified: trunk/Source/WebCore/html/canvas/WebGLVertexArrayObject.cpp (265204 => 265205)
--- trunk/Source/WebCore/html/canvas/WebGLVertexArrayObject.cpp 2020-08-03 17:30:53 UTC (rev 265204)
+++ trunk/Source/WebCore/html/canvas/WebGLVertexArrayObject.cpp 2020-08-03 17:49:15 UTC (rev 265205)
@@ -49,8 +49,6 @@
#if USE(OPENGL_ES)
if (m_type != Type::User)
return;
-#else
- ASSERT(type != Type::Default || !(this->context()->m_defaultVertexArrayObject));
#endif
setObject(this->context()->graphicsContextGL()->createVertexArray());
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes