shader.cpp: don't test twice if shader programs are present
authorLoic Blot <loic.blot@unix-experience.fr>
Tue, 9 Feb 2016 22:03:54 +0000 (23:03 +0100)
committerest31 <MTest31@outlook.com>
Tue, 9 Feb 2016 22:19:19 +0000 (23:19 +0100)
commit4e3fe460e38bed832266ee3168463a262d7fa444
treee37fd979901996bd8f60d37bc33597784370f9fc
parentbaa7c8f8ad4e5717e324948c85d3da6bbbf17c16
shader.cpp: don't test twice if shader programs are present

Also use string::empty method, it is better than comparing with empty strings.
src/shader.cpp