Learning OpenGL and going through the texture part of the book, and I seems to find a bug in the ktxview example which I initially only getting a black screen.
Change the location of the uniform to 1 as shown seem to bring back the example to life:
glUniform1f(1, (float) (sin(t) * 16 + 16));