mirror of
https://git.shylie.info/shylie/glerminal.git
synced 2025-09-30 20:20:06 +00:00
Initial automated testing
This commit is contained in:
@@ -529,7 +529,7 @@ namespace glerminal
|
||||
|
||||
log(GL_DEBUG_TYPE_ERROR, 0, 0, "Could not compile vertex shader.");
|
||||
log(GL_DEBUG_TYPE_ERROR, 0, 0, info_log);
|
||||
throw std::runtime_error("");
|
||||
throw std::runtime_error("Could not compile vertex shader.");
|
||||
}
|
||||
|
||||
glGetShaderiv(geometry_shader, GL_COMPILE_STATUS, &success);
|
||||
@@ -543,7 +543,7 @@ namespace glerminal
|
||||
|
||||
log(GL_DEBUG_TYPE_ERROR, 1, 0, "Could not compile geometry shader.");
|
||||
log(GL_DEBUG_TYPE_ERROR, 1, 0, info_log);
|
||||
throw std::runtime_error("");
|
||||
throw std::runtime_error("Could not compile geometry shader.");
|
||||
}
|
||||
|
||||
glGetShaderiv(fragment_shader, GL_COMPILE_STATUS, &success);
|
||||
@@ -557,7 +557,7 @@ namespace glerminal
|
||||
|
||||
log(GL_DEBUG_TYPE_ERROR, 2, 0, "Could not compile fragment shader.");
|
||||
log(GL_DEBUG_TYPE_ERROR, 2, 0, info_log);
|
||||
throw std::runtime_error("");
|
||||
throw std::runtime_error("Could not compile fragment shader.");
|
||||
}
|
||||
|
||||
// link
|
||||
@@ -584,7 +584,7 @@ namespace glerminal
|
||||
|
||||
log(GL_DEBUG_TYPE_ERROR, 3, 0, "Could not link shader program.");
|
||||
log(GL_DEBUG_TYPE_ERROR, 3, 0, info_log);
|
||||
throw std::runtime_error("");
|
||||
throw std::runtime_error("Could not link shader program.");
|
||||
}
|
||||
|
||||
// setup uniforms
|
||||
@@ -613,7 +613,7 @@ namespace glerminal
|
||||
|
||||
log(GL_DEBUG_TYPE_ERROR, 4, 0, "Could not compile screen vertex shader.");
|
||||
log(GL_DEBUG_TYPE_ERROR, 4, 0, info_log);
|
||||
throw std::runtime_error("");
|
||||
throw std::runtime_error("Could not compile screen vertex shader.");
|
||||
}
|
||||
|
||||
glGetShaderiv(screen_fragment_shader, GL_COMPILE_STATUS, &success);
|
||||
@@ -626,7 +626,7 @@ namespace glerminal
|
||||
|
||||
log(GL_DEBUG_TYPE_ERROR, 5, 0, "Could not compile screen fragment shader.");
|
||||
log(GL_DEBUG_TYPE_ERROR, 5, 0, info_log);
|
||||
throw std::runtime_error("");
|
||||
throw std::runtime_error("Could not compile screen fragment shader.");
|
||||
}
|
||||
|
||||
// link
|
||||
@@ -645,7 +645,7 @@ namespace glerminal
|
||||
|
||||
log(GL_DEBUG_TYPE_ERROR, 6, 0, "Could not link screen shader program.");
|
||||
log(GL_DEBUG_TYPE_ERROR, 6, 0, info_log);
|
||||
throw std::runtime_error("");
|
||||
throw std::runtime_error("Could not link screen shader program.");
|
||||
}
|
||||
|
||||
// setup uniforms for screen shader
|
||||
|
Reference in New Issue
Block a user