Modified argument types to use GL specific ones.