accept const pointers for glBuffer[Sub]Data