[DEV] update open GL interface