Lines Matching refs:TexWidth
22 static int TexWidth = SIZE, TexHeight = SIZE;
67 /* resize to TexWidth x TexHeight */
68 if (width != TexWidth || height != TexHeight) {
69 GLubyte *newImage = malloc(TexWidth * TexHeight * 4);
72 TexWidth, TexHeight);
76 TexWidth, TexHeight, GL_UNSIGNED_BYTE, newImage);
82 glTexImage2D(GL_TEXTURE_2D, 0, format, TexWidth, TexHeight, 0,
87 width = TexWidth;
112 GLint Width = TexWidth / (1 << i);
198 TexWidth / (1 << RenderTextureLevel),
231 int texWidth = TexWidth, texHeight = TexHeight;
263 texWidth = TexWidth >> bias;
301 x += TexWidth + 4;