Fix missing type for createShader type parameter