Following internet tutorial about opengl2.0