Move texture defaults behind renderer gl
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user