Update samples to work with OpenGL 3 and GLSL 1.3