Title: [260740] trunk/Source/WebCore
- Revision
- 260740
- Author
- [email protected]
- Date
- 2020-04-27 00:04:09 -0700 (Mon, 27 Apr 2020)
Log Message
Build failure in WebGL2RenderingContext after r260588
https://bugs.webkit.org/show_bug.cgi?id=211057
Patch by Kenneth Russell <[email protected]> on 2020-04-27
Reviewed by Darin Adler.
Fix non-ANGLE build failure in WebGL2RenderingContext after
r260588.
* html/canvas/WebGL2RenderingContext.cpp:
(WebCore::WebGL2RenderingContext::texStorage2D):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (260739 => 260740)
--- trunk/Source/WebCore/ChangeLog 2020-04-27 05:12:55 UTC (rev 260739)
+++ trunk/Source/WebCore/ChangeLog 2020-04-27 07:04:09 UTC (rev 260740)
@@ -1,3 +1,16 @@
+2020-04-27 Kenneth Russell <[email protected]>
+
+ Build failure in WebGL2RenderingContext after r260588
+ https://bugs.webkit.org/show_bug.cgi?id=211057
+
+ Reviewed by Darin Adler.
+
+ Fix non-ANGLE build failure in WebGL2RenderingContext after
+ r260588.
+
+ * html/canvas/WebGL2RenderingContext.cpp:
+ (WebCore::WebGL2RenderingContext::texStorage2D):
+
2020-04-26 Darin Adler <[email protected]>
[Cocoa] stop using out arguments for document attributes when converting to attributed strings
Modified: trunk/Source/WebCore/html/canvas/WebGL2RenderingContext.cpp (260739 => 260740)
--- trunk/Source/WebCore/html/canvas/WebGL2RenderingContext.cpp 2020-04-27 05:12:55 UTC (rev 260739)
+++ trunk/Source/WebCore/html/canvas/WebGL2RenderingContext.cpp 2020-04-27 07:04:09 UTC (rev 260740)
@@ -666,7 +666,9 @@
GCGLsizei levelHeight = height;
unsigned size;
- GCGLenum error = m_context->computeImageSizeInBytes(format, type, width, height, m_unpackAlignment, &size, nullptr);
+ GraphicsContextGLOpenGL::PixelStoreParams params;
+ params.alignment = m_unpackAlignment;
+ GCGLenum error = m_context->computeImageSizeInBytes(format, type, width, height, 1, params, &size, nullptr, nullptr);
if (error != GraphicsContextGL::NO_ERROR) {
synthesizeGLError(error, "texStorage2D", "bad dimensions");
return;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes