std140 implementation
This commit is contained in:
@@ -17,7 +17,7 @@ inline void shader_program_handle::unbind()
|
||||
glUseProgram(0);
|
||||
}
|
||||
|
||||
template<shader_program_variable::info_type VariableInfo, typename T>
|
||||
template<shader_uniform::info_type VariableInfo, typename T>
|
||||
void shader_program_handle::set_uniform(const T& value) const
|
||||
{
|
||||
if constexpr (std::same_as<T, glm::mat4x4>)
|
||||
|
||||
Reference in New Issue
Block a user