Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WPE] Always call glBindAttribLocation before glLinkProgram
https://bugs.webkit.org/show_bug.cgi?id=255006 Reviewed by Don Olmstead. Reorder glBindAttribLocation() calls to be done before glLinkProgram(). While existing code worked with many GL implementations, that behavior shall not be relied upon: the specification indicates that attribute bindings go into effect after calling glLinkProgram(). Thanks to user "mizmar" for reporting the issue and outlining the solution. * Source/WebKit/UIProcess/API/wpe/qt/WPEQtViewBackend.cpp: (WPEQtViewBackend::WPEQtViewBackend): Reorder GL calls. * Tools/wpe/backends/fdo/WindowViewBackend.cpp: (WPEToolingBackends::WindowViewBackend::WindowViewBackend): Ditto. Canonical link: https://commits.webkit.org/262592@main
- Loading branch information