added opengl init code, previously assumed from Diplay
Authored by: matzon 2008-07-02
Parent: [r3107]
Child: [r3109]