diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-03-26 13:51:23 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-03-26 15:16:01 +0300 |
commit | 6073b6b874e4b5fa990153dfbaa04dac5d884094 (patch) | |
tree | 74c58c4bc92b46630aa5b816d14e2bcd1073c1f5 /source/blender/gpu/opengl | |
parent | ab97add5fa125aa8322b4ceacc070d01104f72a5 (diff) |
GPU: ShaderBuilder: Skip shader compilation for unsupported shaders.
Diffstat (limited to 'source/blender/gpu/opengl')
-rw-r--r-- | source/blender/gpu/opengl/gl_shader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/opengl/gl_shader.cc b/source/blender/gpu/opengl/gl_shader.cc index 5a55a2e8020..71428633d79 100644 --- a/source/blender/gpu/opengl/gl_shader.cc +++ b/source/blender/gpu/opengl/gl_shader.cc @@ -868,7 +868,7 @@ GLuint GLShader::create_shader_stage(GLenum gl_stage, MutableSpan<const char *> { GLuint shader = glCreateShader(gl_stage); if (shader == 0) { - fprintf(stderr, "GLShader: Error: Could not create shader object."); + fprintf(stderr, "GLShader: Error: Could not create shader object.\n"); return 0; } |