avm2: Improve Shader stub

This commit is contained in:
Lord-McSweeney 2023-05-14 15:24:18 -07:00 committed by relrelb
parent d0f8061c85
commit b24fc7c07f
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ package flash.display {
public function set byteCode(code:ByteArray):void { public function set byteCode(code:ByteArray):void {
stub_setter("flash.display.Shader", "byteCode"); stub_setter("flash.display.Shader", "byteCode");
this._data = new ShaderData(code);
} }
public function get data():ShaderData { public function get data():ShaderData {