gl: pixel format and gl mapping fix for dynamic gl