Skip to content

Commit

Permalink
Remove WebGLRipper userscript check
Browse files Browse the repository at this point in the history
They fixed the bug and we actually use webgl2 in the
latest -render so it wouldn't cause crashes anyways
  • Loading branch information
GarboMuffin committed Jul 20, 2024
1 parent fd1afa6 commit 82e4f3e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/lib/tw-environment-support-prober.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@ export const findIncompatibleUserscripts = () => {
errors.push('You are using an old version of the "Chibi" userscript that has known project corruption bugs. Please disable it, uninstall it, or update to version 4.');
}

// WebGLRipper Shader Calc breaks WebGL program linking
// Reported to us in https://github.com/TurboWarp/scratch-gui/issues/920
// Reported upstream in https://github.com/Rilshrink/WebGLRipper/issues/21
if (typeof window.WEBGLRipperSettings === 'object' && window.WEBGLRipperSettings.isDoShaderCalc) {
errors.push('"WebGLRipper"\'s "Shader Calc" option breaks our WebGL renderer. Please disable it, uninstall it, or turn off "Shader Calc". See https://github.com/Rilshrink/WebGLRipper/issues/21.');
}

// For debugging incompatibilities, allow ignoring the errors with an undocumented URL parameter.
if (errors.length > 0) {
const params = new URLSearchParams(location.search);
Expand Down

0 comments on commit 82e4f3e

Please sign in to comment.