setupMethod = POINTER;
} else if (strcmp(arg, "interleaved") == 0) {
setupMethod = INTERLEAVED;
- } else if (strcmp(arg, "DRAWARRAYS") == 0) {
+ } else if (strcmp(arg, "drawarrays") == 0) {
derefMethod = DRAWARRAYS;
} else if (strcmp(arg, "arrayelement") == 0) {
derefMethod = ARRAYELEMENT;
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB);
glutInitWindowSize(350, 350);
- glutInitWindowPosition(100, 100);
win = glutCreateWindow(argv[0]);
init();
glutDisplayFunc(display);