Learning OpenGL with samples