- if((shin_loc = sprog->get_uniform_location("shininess")) == -1) {
- fprintf(stderr, "Invalid uniform location: can't find \"shininess\".\n");
- return false;
- }
-
- /* uniform locations for matrices */
-
- if((mmviewproj_loc = sprog->get_uniform_location("mmviewproj")) == -1) {
- fprintf(stderr, "Invalid uniform location: can't find \"mmviewproj\".\n");
- return false;
- }
-
- if((mview_loc = sprog->get_uniform_location("mview")) == -1) {
- fprintf(stderr, "Invalid uniform location: can't find \"mview\".\n");