Skip to content

DX8: Handle failure of CreateImageSurface - #38

Merged
x64-dev merged 1 commit into
mainfrom
seer/dx8-createimagesurface-failure
Oct 5, 2025
Merged

DX8: Handle failure of CreateImageSurface#38
x64-dev merged 1 commit into
mainfrom
seer/dx8-createimagesurface-failure

Conversation

@seer-by-sentry

@seer-by-sentry seer-by-sentry Bot commented Oct 5, 2025

Copy link
Copy Markdown

Fixes CLIENT-ER. The issue was that: DirectX wrapper ignored API failure, returning a corrupted pointer that caused an Access Violation Read at 0x0 during object construction.

  • Checks the return value of CreateImageSurface for failure.
  • Logs the error if the call fails.
  • Returns NULL to indicate failure to the caller.

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

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

@x64-dev
x64-dev marked this pull request as ready for review October 5, 2025 01:57
@x64-dev
x64-dev merged commit f90ee99 into main Oct 5, 2025
5 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