Silence compiler warnings.
Pass bytes per pixel as internal format to gl functions

  Not all constants used for the "descriptive" format argument are
handled, while bytes per pixel appears to be always properly handled.