added wgl version support