File tree 2 files changed +5
-6
lines changed
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"manifest_version" : 2 ,
3
3
"name" : " Shadertoy unofficial plugin." ,
4
- "version" : " 0.13.224 " ,
4
+ "version" : " 0.13.226 " ,
5
5
"description" : " Shadertoy.com unofficial plugin." ,
6
6
"homepage_url" : " https://github.com/patuwwy/ShaderToy-Chrome-Plugin" ,
7
7
"background" : {
Original file line number Diff line number Diff line change 1056
1056
finishShaderFork ( ) {
1057
1057
var storedShader = window . localStorage . getItem (
1058
1058
LOCALSTORAGE_SHADER_FORK_KEYNAME
1059
- ) ,
1060
- ctx = gShaderToy . mEffect . mGLContext ;
1059
+ ) ;
1061
1060
1062
1061
if ( ! storedShader ) {
1063
1062
return ;
1064
1063
}
1065
1064
1066
1065
try {
1067
1066
gShaderToy . mEffect . mGLContext = null ;
1067
+ gShaderToy . mEffect . DestroyPass ( 0 ) ;
1068
+
1068
1069
setTimeout ( function ( ) {
1069
- dataLoadShader ( JSON . parse ( '[' + storedShader + ']' ) ) ;
1070
- gShaderToy . mEffect . mGLContext = ctx ;
1071
- gShaderToy . startRendering ( ) ;
1070
+ gShaderToy . Load ( JSON . parse ( '[' + storedShader + ']' ) [ 0 ] ) ;
1072
1071
window . localStorage . setItem (
1073
1072
LOCALSTORAGE_SHADER_FORK_KEYNAME ,
1074
1073
''
You can’t perform that action at this time.
0 commit comments