This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAPSJS-2783: Fix dynamic technique keys for array buffers.
Dynamic technique keys are generated using JSON.stringify on the technique property values. However ArrayBuffers (used for texture properties) return always the same string "{}", causing a collision in the dynamic technique cache between different techniques. This is solved by converting array buffers to arrays before stringifying. Signed-off-by: Andres Mandado <[email protected]>
- Loading branch information
1 parent
720a32d
commit e04d289
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters