Lines Matching refs:prog
38 struct program prog;
53 prog.width = width;
54 prog.height = height;
69 prog.quads = !prog.quads;
78 if (prog.quads) {
95 printf("drawing with %s\n", prog.quads ? "quads" : "clears");
105 glScissor(1, prog.height - 11, 10, 10);
107 glScissor(prog.width - 11, prog.height - 11, 10, 10);
117 glScissor(12, prog.height - 11, 10, 10);
119 glScissor(prog.width - 22, prog.height - 11, 10, 10);
129 glScissor(1, prog.height - 22, 10, 10);
131 glScissor(prog.width - 11, prog.height - 22, 10, 10);
147 prog.width = 200;
148 prog.height = 200;
151 glutInitWindowSize(prog.width, prog.height);