RESOLVED CONFIGURATION CHANGED 226590
Compile error in HTML canvas when both OpenGL and WebGL2 are used in GTKPlatform
https://bugs.webkit.org/show_bug.cgi?id=226590
Summary Compile error in HTML canvas when both OpenGL and WebGL2 are used in GTKPlatform
Eleni Maria Stea
Reported 2021-06-03 10:41:43 PDT
Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp: In function WebGLRenderingContextBase::drawElements m_context is of type GraphicsContextGL which doesn't have any primitiveRestartIndex function. Context should be accessed as GraphicsContextGLOpenGL to call this function otherwise a compile error is generated.
Attachments
Patch (1.67 KB, patch)
2021-06-03 10:55 PDT, Eleni Maria Stea
no flags
Eleni Maria Stea
Comment 1 2021-06-03 10:55:34 PDT
Adrian Perez
Comment 2 2022-02-28 13:57:02 PST
Patch not needed anymore, primitiveRestartIndex() is not used anymore from WebCore these days.
Note You need to log in before you can comment on or make changes to this bug.