In my code at some point I try to upload a matrix by using:

gl.uniformMatrix4fv(rotationMatrix, true, new WebGLFloatArray(mrot));

foolishly I had assumed that the second argument (set to true...