Skip to content

bugfix(w3ddisplay): Prevent crashes when texture data or filename is missing#490

Merged
x64-dev merged 1 commit intomainfrom
seer/fix/w3ddisplay-texture-data-checks
May 7, 2026
Merged

bugfix(w3ddisplay): Prevent crashes when texture data or filename is missing#490
x64-dev merged 1 commit intomainfrom
seer/fix/w3ddisplay-texture-data-checks

Conversation

@seer-by-sentry
Copy link
Copy Markdown

@seer-by-sentry seer-by-sentry Bot commented May 7, 2026

Fixes CLIENT-19P. The issue was that: Texture rendering crashes due to W3DDisplay::drawImage passing a null texture pointer to Render2DClass::Set_Texture without validation.

  • Added null check for raw texture data before attempting to set the texture.
  • Added empty string check for texture filename before attempting to set the texture.
  • Prevents potential crashes or errors in W3DDisplay::Draw_Image if texture resources are unavailable or invalid.

This fix was generated by Seer in Sentry, triggered by x64-dev. 👁️ Run ID: 13978084

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

@seer-by-sentry seer-by-sentry Bot requested a review from x64-dev May 7, 2026 21:18
@x64-dev x64-dev marked this pull request as ready for review May 7, 2026 21:18
@x64-dev x64-dev merged commit 8b4870c into main May 7, 2026
2 checks passed
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.

1 participant