Skip to content

Commit e40b996

Browse files
committed
skia python m138 skia.RuntimeEffect.MakeForShader() calling convention
1 parent e1dd18e commit e40b996

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glassmorphic_live_skia.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(self, parent=None):
5656
self.resize(self.W, self.H)
5757
self.setMinimumSize(self.W, self.H)
5858
self.setMaximumSize(self.W, self.H)
59-
self.effect = skia.RuntimeEffect.MakeForShader(GLASSMORPHIC_SKSL)[0]
59+
self.effect = skia.RuntimeEffect.MakeForShader(GLASSMORPHIC_SKSL)
6060
self.noise_size = max(self.W, self.H)
6161
self.noise_image = pil_noise_to_skimage(self.noise_size)
6262
self.t = 0

0 commit comments

Comments
 (0)