* Add error checking on shader compilation. * Use 2 versions of fragmentShader for GLSL 1.0 and GLSL 2.0 or later.
1.5 KiB
1.5 KiB
* Add error checking on shader compilation. * Use 2 versions of fragmentShader for GLSL 1.0 and GLSL 2.0 or later.