Skip to content

bugfix(display): Add null check for raw texture data#436

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/w3ddisplay-raw-texture-null-check
Open

bugfix(display): Add null check for raw texture data#436
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/w3ddisplay-raw-texture-null-check

Conversation

@seer-by-sentry
Copy link
Copy Markdown

Fixes CLIENT-2RY. The issue was that: Image object's raw texture data is null despite status flag, leading to null pointer dereference in Render2DClass::Set_Texture.

  • Added a null pointer check for 'image->getRawTextureData()' when 'IMAGE_STATUS_RAW_TEXTURE' is set.
  • Prevents potential crashes if raw texture data is unexpectedly null during texture rendering.

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

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