Updated caps code
Uses the same name as GL values. Started adding texture formats check