Commit ca30742
authored
Fix browser.test_sdl2_canvas_proxy on Firefox (#25439)
SDL2 renderer init attempts to compile a shader with GLES external image
content. This causes Firefox to report a shader compilation error, which
would cause WebGL proxying to assert().
Demote the assert() into a warning print to let Firefox pass through.
Also because async proxied code cannot get the shader info log, print
the info log to the browser console when compile status is queried. This
way developers will see all shader compile errors automatically in
proxied GL mode.1 parent 672c442 commit ca30742
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
233 | 238 | | |
234 | 239 | | |
235 | 240 | | |
| |||
0 commit comments