Further shader compilation development.

This commit is contained in:
zy4n
2025-03-22 17:40:08 +01:00
parent e01b8c2e09
commit 510398423a
45 changed files with 1567 additions and 1097 deletions

View File

@@ -43,8 +43,8 @@ std::error_code shader_program_data::build_from(
std::tie(geometry_shader, shader_names[1]),
std::tie(fragment_shader, shader_names[2])
}) {
if (shader.shader_id) {
glAttachShader(program_id, shader.shader_id);
if (shader.id) {
glAttachShader(program_id, shader.id);
} else {
ztu::logger::warn("Using default % shader", name);
}