Skip to content

Fix cube texture view type.#9

Merged
IsaacMarovitz merged 1 commit into
sonicnext-dev:mainfrom
squidbus:cube-view
Jul 19, 2025
Merged

Fix cube texture view type.#9
IsaacMarovitz merged 1 commit into
sonicnext-dev:mainfrom
squidbus:cube-view

Conversation

@squidbus

Copy link
Copy Markdown
Collaborator

Underlying texture type for cube is 2D, so arraySize should be a multiple of 6. Thus when checking for cube vs cube array, we need to check if arraySize > 6.

(also fixed some indentation in the switch)

@IsaacMarovitz
IsaacMarovitz merged commit abf576a into sonicnext-dev:main Jul 19, 2025
2 of 12 checks passed
@squidbus
squidbus deleted the cube-view branch July 21, 2025 10:52
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