Add a helper method to return the native format backing a GL texture type.

TRAC #23844

Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
5 files changed