Skip to content

Commit 3e4dfb0

Browse files
Native: bump PROTOCOL_VERSION to 10 for cube render target API
Addresses review: cube RT adds isCube/layer params that old native silently ignores (2D RT with aliased faces, no error). Bumping the protocol version makes any JS<->Native version skew fail loudly at engine init via the existing strict-equality check, instead of rendering incorrectly. Pairs with the native-side bump in BabylonJS/BabylonNative#1750 (landed together with the babylonjs pin bump).
1 parent 3381c85 commit 3e4dfb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/dev/core/src/Engines/thinNativeEngine.pure.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ const remappedAttributesNames: string[] = [];
211211
/** @internal */
212212
export class ThinNativeEngine extends ThinEngine {
213213
// This must match the protocol version in NativeEngine.cpp
214-
private static readonly PROTOCOL_VERSION = 9;
214+
private static readonly PROTOCOL_VERSION = 10;
215215

216216
/** @internal */
217217
public static _createNativeDataStream(): NativeDataStream {

0 commit comments

Comments
 (0)