Fix #28613: SEGFAULT: When setting Best-Quality on a Bump Map in GLSL viewport
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 12 Sep 2011 09:47:28 +0000 (09:47 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 12 Sep 2011 09:47:28 +0000 (09:47 +0000)
commitb8bf0ee822a742039d364991e712dda09b58eb61
tree0befc6ceae8e29d90e94f42fc3c357c908144fdb
parent156e96762b64eae7bc10d1ef58130107777ddb11
Fix #28613: SEGFAULT: When setting Best-Quality on a Bump Map in GLSL viewport

Problem was caused by CRLF line ending instead of LF line ending.
Re-generate pu_shader_material to use LF line ending and made gpu codegen
treat \r as space character.
source/blender/gpu/intern/gpu_codegen.c
source/blender/gpu/intern/gpu_shader_material.glsl.c