added GL version check