Move texture defaults behind renderer gl

This commit is contained in:
2026-06-02 08:51:34 +02:00
parent 8a92bc973b
commit a12a3454c4
9 changed files with 118 additions and 10 deletions

View File

@@ -647,6 +647,11 @@ std::uint32_t repeat_texture_wrap() noexcept
return gl_repeat;
}
std::uint32_t clamp_to_edge_texture_wrap() noexcept
{
return gl_clamp_to_edge;
}
std::uint32_t active_texture_unit(std::uint32_t unit_index) noexcept
{
return gl_texture0 + unit_index;