Commit aab7a48
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 de7ed44 commit aab7a48
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2698 | 2698 | | |
2699 | 2699 | | |
2700 | 2700 | | |
| 2701 | + | |
| 2702 | + | |
| 2703 | + | |
| 2704 | + | |
2701 | 2705 | | |
2702 | 2706 | | |
2703 | 2707 | | |
| |||
0 commit comments