mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
parent
0568312324
commit
f25532db78
@ -3206,6 +3206,10 @@ glsl_compile_and_link() {
|
|||||||
valid &= glsl_compile_shader(Shader::ST_compute);
|
valid &= glsl_compile_shader(Shader::ST_compute);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!valid) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// There might be warnings, so report those. GLSLShaders::const_iterator
|
// There might be warnings, so report those. GLSLShaders::const_iterator
|
||||||
// it; for (it = _glsl_shaders.begin(); it != _glsl_shaders.end(); ++it) {
|
// it; for (it = _glsl_shaders.begin(); it != _glsl_shaders.end(); ++it) {
|
||||||
// glsl_report_shader_errors(*it); }
|
// glsl_report_shader_errors(*it); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user