thunk glMap*d to glMap*f