Make rendering of main menu in OpenGL