bugfix: store opengl version after getting it.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>