Lines Matching defs:TexHeight
16 static GLint TexWidth = 512, TexHeight = 512;
27 * draw teapot image, size TexWidth by TexHeight
34 glViewport(0, 0, TexWidth, TexHeight);
35 glScissor(0, 0, TexWidth, TexHeight);
41 ar = (float) TexWidth / TexHeight;
77 int w = TexWidth / 2, h = TexHeight / 2;
94 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 0, 0, TexWidth, TexHeight);
108 int w = TexWidth / 2, h = TexHeight / 2;
136 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, TexWidth, TexHeight,
165 image = (GLubyte *) malloc(TexWidth * TexHeight * bpp);
167 glReadPixels(0, 0, TexWidth, TexHeight,
214 h = TexHeight / 2;
219 h = TexHeight;
308 glTexImage2D(GL_TEXTURE_2D, 0, IntFormat, TexWidth, TexHeight, 0,