(RGL) Ghetto inline functions that are only used once