--- ray/src/util/glrad.c 1998/06/18 17:18:27 3.5 +++ ray/src/util/glrad.c 1998/07/08 18:00:39 3.8 @@ -173,7 +173,8 @@ char *argv[]; /* all done */ quit(0); userr: - fprintf(stderr, "Usage: %s [-w][-b][-v view] rfile [VAR=value]..\n", + fprintf(stderr, + "Usage: %s [-w][-s][-b][-S][-v view] rfile [VAR=value]..\n", argv[0]); quit(1); } @@ -423,7 +424,7 @@ char *id; glDepthFunc(GL_LESS); glShadeModel(GL_SMOOTH); glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); - glLightModelf(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE); + glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE); glEnable(GL_LIGHTING); if (backvis) glDisable(GL_CULL_FACE); @@ -809,8 +810,6 @@ int vwnum; ; else if (vwnum >= MAXVIEW || vwl[vwnum].v == NULL) vwnum = 0; - if (vwnum == currentview) - return; copylastv("standard view"); dev_view(vwl[currentview=vwnum].v); }