const char *vertexShader = {
"void main() {\n \
gl_TexCoord[0] = gl_MultiTexCoord0;\n \
gl_Position = ftransform();\n \
}\n"
};
const char *fragmentShader = {
"uniform sampler2D sampler;//纹理\n \
void main() {\n \
gl_FragColor = texture2D(sampler, gl_TexCoord[0].st);//原图\n \
}\n"
};