Home | History | Annotate | Download | only in trivial

Lines Matching defs:Height

17 static int Width = 512, Height = 512;
72 Reshape( int width, int height )
74 glViewport( 0, 0, width, height );
81 Height = height;
128 GLubyte *buffer = malloc(Width * Height * 4);
131 glReadPixels(0, 0, Width-60, Height-60, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
136 glViewport(0, 0, Width, Height);
144 glDrawPixels(Width-60, Height-60, GL_RGBA, GL_UNSIGNED_BYTE, buffer);
151 glViewport(0, 0, Width, Height);
206 glutInitWindowPosition(100, 0); glutInitWindowSize( Width, Height );