Fix bug in handling CRLF line endings in ShaderLibrary
authorPyry Haulos <phaulos@google.com>
Tue, 2 Dec 2014 23:29:08 +0000 (15:29 -0800)
committerPyry Haulos <phaulos@google.com>
Tue, 2 Dec 2014 23:29:08 +0000 (15:29 -0800)
commita7438f761960032e1150e6e1b30990062136bc15
tree6260befcdaa8b15c20c6ec1fc1b497464f7c6072
parent1bfa102df7c2678fa4ac421fa29780848c2c12f3
Fix bug in handling CRLF line endings in ShaderLibrary

glsShaderLibrary.cpp failed to strip first empty line from shader strings
if .test file was using CRLF line endings. That was leading to further
issues later on.

Bug: 18595005
Change-Id: Ia783c2bed4c838877c80f7c51bcf3fb021b75c8f
modules/glshared/glsShaderLibrary.cpp