Lines Matching refs:Height
17 static int Width = 400, Height = 400;
34 GLubyte *buffer = malloc(Width * Height * 4);
60 glReadPixels(0, 0, Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
65 glDrawPixels(Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
74 Reshape( int width, int height )
77 float ar = (float) width / (float) height;
79 glViewport( 0, 0, width, height );
91 Height = height;
92 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
167 glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_RGB, Width, Height);
202 glutInitWindowSize(Width, Height);