Skip to content

perf(terrain): Optimize terrain texture data access and add null checks#439

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/perf/terrain-tex-opt
Open

perf(terrain): Optimize terrain texture data access and add null checks#439
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/perf/terrain-tex-opt

Conversation

@seer-by-sentry
Copy link
Copy Markdown

Fixes CLIENT-3EA. The issue was that: Terrain texture update attempts to read uninitialized tile pixel data because map file parsing is incomplete.

  • Moved getRGBDataForWidth calls out of inner loops when processing terrain tiles.
  • Added null checks for the RGB data pointers to improve robustness.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 12608215

Not quite right? Click here to continue debugging with Seer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants