Commit 56b98ff
committed
Native: throw explicit error if old-native lacks updateTextureData
Addresses review: existence-check before calling this._engine.updateTextureData so older native binaries (PROTOCOL_VERSION not bumped) restore the explicit 'updateTextureData not implemented.' error instead of a raw 'is not a function'.1 parent aef72b9 commit 56b98ff
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2829 | 2829 | | |
2830 | 2830 | | |
2831 | 2831 | | |
| 2832 | + | |
| 2833 | + | |
| 2834 | + | |
| 2835 | + | |
2832 | 2836 | | |
2833 | 2837 | | |
2834 | 2838 | | |
| |||
0 commit comments