diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-05-01 23:42:07 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-05-01 23:42:07 +0300 |
commit | aa34706aacdab45847d7c0e3987b1de4ff0b8760 (patch) | |
tree | 64cad50f3e225d65d0e17b784113d7a13e1d5fbf /source/blender/draw/intern/shaders/common_view_lib.glsl | |
parent | 3f0c09f6ddde9ba0f995eb3d7e088bd650112891 (diff) |
Fix T97545 DRW: Crash cause by invalid `"` char in glsl source
Some old compiler do not like this character even if inside an `#error`
directive.
Diffstat (limited to 'source/blender/draw/intern/shaders/common_view_lib.glsl')
-rw-r--r-- | source/blender/draw/intern/shaders/common_view_lib.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/shaders/common_view_lib.glsl b/source/blender/draw/intern/shaders/common_view_lib.glsl index 4086162a530..8eecaa46b58 100644 --- a/source/blender/draw/intern/shaders/common_view_lib.glsl +++ b/source/blender/draw/intern/shaders/common_view_lib.glsl @@ -33,7 +33,7 @@ layout(std140) uniform viewBlock #ifdef USE_GPU_SHADER_CREATE_INFO # ifndef DRW_RESOURCE_CHUNK_LEN -# error "Missing draw_view additional create info on shader create info" +# error Missing draw_view additional create info on shader create info # endif #endif |