Unverified Commit 80eacdf8 authored by ReinUsesLisp's avatar ReinUsesLisp
Browse files

texture_cache: Use a table instead of switch for texture formats

Use a large flat array to look up texture formats. This allows us to
properly implement formats with different component types. It should
also be faster.
parent 48a1687f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment