basic opengl sample