Skip to content

Fix: Incorrect texture height in 2D sentence rendering#345

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/2d-sentence-texture-height
Open

Fix: Incorrect texture height in 2D sentence rendering#345
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/2d-sentence-texture-height

Conversation

@seer-by-sentry
Copy link

Fixes CLIENT-3PP. The issue was that: TextureClass constructor incorrectly uses surface width for both width and height, causing DirectX functions to divide by zero if surface width is zero.

  • Corrected the texture creation for 2D sentences to use desc.Height instead of desc.Width for the height parameter, ensuring textures are created with their intended dimensions.

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

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