The function int rlGetLocationUniform(unsigned int shaderId, const char *uniformName); has a bit of a misleading name: "shaderId" of its 1st parameter. In rlgl.h — the function: unsigned int ...