#if __VERSION__ < 130
#define TEXTURE2D texture2D
#else
#define TEXTURE2D texture
#endif
#if __VERSION__ > 120
color = texture(sampler, texCoord);
#else
color = texture2D(sampler, texCoord);
#endif
#if __VERSION__ < 130
#define TEXTURE2D texture2D
#else
#define TEXTURE2D texture
#endif
#if __VERSION__ > 120
color = texture(sampler, texCoord);
#else
color = texture2D(sampler, texCoord);
#endif