Searched refs:TextureWidth (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dmanytex.c22 static GLint *TextureWidth = NULL, *TextureHeight = NULL; variable in typeref:typename:GLint *
77 GLfloat maxDim = (TextureWidth[i] > TextureHeight[i])
78 ? TextureWidth[i] : TextureHeight[i];
79 GLfloat w = TextureWidth[i] / maxDim;
185 if (!TextureWidth) {
186 TextureWidth = (GLint *) malloc(sizeof(GLint) * NumTextures);
187 assert(TextureWidth);
219 TextureWidth[i] = TexWidth;

Completed in 2 milliseconds