Lines Matching defs:Height
13 static int Width = 512, Height = 512;
42 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
58 Height = height;
59 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
80 glViewport(0, 0, Width, Height);
100 GLubyte *buffer = malloc(Width * Height * 4);
103 glReadPixels(0, 0, Width-60, Height-60, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
112 glViewport(0, 0, Width, Height);
120 glDrawPixels(Width-60, Height-60, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
127 glViewport(0, 0, Width, Height);
151 glutInitWindowSize(Width, Height);