Changeset 260740 in webkit


Ignore:
Timestamp:
Apr 27, 2020 12:04:09 AM (4 years ago)
Author:
commit-queue@webkit.org
Message:

Build failure in WebGL2RenderingContext after r260588
https://bugs.webkit.org/show_bug.cgi?id=211057

Patch by Kenneth Russell <kbr@chromium.org> on 2020-04-27
Reviewed by Darin Adler.

Fix non-ANGLE build failure in WebGL2RenderingContext after
r260588.

  • html/canvas/WebGL2RenderingContext.cpp:

(WebCore::WebGL2RenderingContext::texStorage2D):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r260739 r260740  
     12020-04-27  Kenneth Russell  <kbr@chromium.org>
     2
     3        Build failure in WebGL2RenderingContext after r260588
     4        https://bugs.webkit.org/show_bug.cgi?id=211057
     5
     6        Reviewed by Darin Adler.
     7
     8        Fix non-ANGLE build failure in WebGL2RenderingContext after
     9        r260588.
     10
     11        * html/canvas/WebGL2RenderingContext.cpp:
     12        (WebCore::WebGL2RenderingContext::texStorage2D):
     13
    1142020-04-26  Darin Adler  <darin@apple.com>
    215
  • trunk/Source/WebCore/html/canvas/WebGL2RenderingContext.cpp

    r260301 r260740  
    667667
    668668        unsigned size;
    669         GCGLenum error = m_context->computeImageSizeInBytes(format, type, width, height, m_unpackAlignment, &size, nullptr);
     669        GraphicsContextGLOpenGL::PixelStoreParams params;
     670        params.alignment = m_unpackAlignment;
     671        GCGLenum error = m_context->computeImageSizeInBytes(format, type, width, height, 1, params, &size, nullptr, nullptr);
    670672        if (error != GraphicsContextGL::NO_ERROR) {
    671673            synthesizeGLError(error, "texStorage2D", "bad dimensions");
Note: See TracChangeset for help on using the changeset viewer.