fix texture storage for 1d-array textures
fix texture storage for 1d-array textures

didnt specify the layers properly.

Also:

> GL_INVALID_VALUE is generated if width, height, depth or levels are
  less than 1.

..That was suprising so changed that

djeis97/cepl,cbaggers/cepl,bsmr-common-lisp/cepl