File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
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.201 " ,
4
+ "version" : " 0.13.213 " ,
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 434
434
this . decreaseRes ( currentDivider * 0.25 ) ;
435
435
436
436
window . setTimeout ( function getImageData ( ) {
437
- imageData = gShaderToy . mGLContext . canvas . toDataURL ( 'image/png' ) ;
437
+ imageData = gShaderToy . mEffect . mGLContext . canvas . toDataURL ( 'image/png' ) ;
438
438
} , 100 ) ;
439
439
440
440
window . setTimeout (
1057
1057
var storedShader = window . localStorage . getItem (
1058
1058
LOCALSTORAGE_SHADER_FORK_KEYNAME
1059
1059
) ,
1060
- ctx = gShaderToy . mGLContext ;
1060
+ ctx = gShaderToy . mEffect . mGLContext ;
1061
1061
1062
1062
if ( ! storedShader ) {
1063
1063
return ;
1064
1064
}
1065
1065
1066
1066
try {
1067
- gShaderToy . mGLContext = null ;
1067
+ gShaderToy . mEffect . mGLContext = null ;
1068
1068
setTimeout ( function ( ) {
1069
1069
dataLoadShader ( JSON . parse ( '[' + storedShader + ']' ) ) ;
1070
- gShaderToy . mGLContext = ctx ;
1070
+ gShaderToy . mEffect . mGLContext = ctx ;
1071
1071
gShaderToy . startRendering ( ) ;
1072
1072
window . localStorage . setItem (
1073
1073
LOCALSTORAGE_SHADER_FORK_KEYNAME ,
You can’t perform that action at this time.
0 commit comments