Groovounet/ogl-samples — pull request #2 by zhumeng1989 (2012-05-21 13:31:06+00:00)
Title: Modified a confusing use of glActiveTexture()

I'm not sure about my modification. But it must be a bug where "glGetUniformLocation(ProgramName, "Diffuse");" is different with "uniform sampler2D DiffuseA;" in image-2d.frag. My modification refers to http://www.arcsynthesis.org/gltut/Texturing/Tutorial%2014.html . There are a lot of similar problem in other examples using image-2d.frag shader.