Fix use of deprecated GLSL functions.
Merge pull request #19 from shurcooL/patch-2

Fix use of deprecated GLSL functions.