Skip to content

fix: Loading textures without transparency in DirectX#1213

Merged
mehah merged 1 commit intoopentibiabr:mainfrom
Oen44:dx-fix
Jun 26, 2025
Merged

fix: Loading textures without transparency in DirectX#1213
mehah merged 1 commit intoopentibiabr:mainfrom
Oen44:dx-fix

Conversation

@Oen44
Copy link
Copy Markdown
Contributor

@Oen44 Oen44 commented Jun 26, 2025

Description

Loading non-transparent textures (so 3 or less channels) doesn't work with DirectX, this will fix it by adjusting internal format value based on channels.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I checked the PR checks reports
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

@sonarqubecloud
Copy link
Copy Markdown

@mehah mehah merged commit a7575c9 into opentibiabr:main Jun 26, 2025
3 checks passed
@Oen44 Oen44 deleted the dx-fix branch July 9, 2025 10:59
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.

2 participants