Lines Matching defs:WinHeight
22 static int WinWidth = 400, WinHeight = 400;
47 for (i = 0; i < WinWidth * WinHeight; i++) {
58 memset(b, 0, WinWidth * WinHeight);
62 int y = rand() % WinHeight;
69 if (y + h > WinHeight)
70 h = WinHeight - y;
87 memset(b, 0, WinWidth * WinHeight);
89 for (iy = 0; iy < WinHeight; iy++) {
103 memset(b, 0, WinWidth * WinHeight);
105 for (iy = 0; iy < WinHeight; iy++) {
119 memset(b, 0, WinWidth * WinHeight);
121 for (iy = 0; iy < WinHeight; iy++) {
149 GLubyte *b = malloc(WinWidth * WinHeight);
155 glDrawPixels(WinWidth, WinHeight, GL_STENCIL_INDEX, GL_UNSIGNED_BYTE, b);
182 WinHeight = height;
263 glutInitWindowSize(WinWidth, WinHeight);