🔧 Pass actor to shader creation method

This commit is contained in:
Simon Schneegans
2022-01-21 19:29:26 +01:00
parent 627b1c5bfe
commit 0b9c2a252f
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ class Extension {
Effect.tweakTransitions(actor, this._settings);
// Add a cool shader to our window actor!
const shader = Effect.createShader(this._settings);
const shader = Effect.createShader(actor, this._settings);
if (shader) {
actor.add_effect(shader);