Lines Matching defs:sizeX
74 glDrawPixels(image->sizeX, image->sizeY, GL_RGB, GL_UNSIGNED_BYTE,
83 glDrawPixels(image->sizeX, image->sizeY, GL_RGB, GL_UNSIGNED_BYTE,
144 static void ScaleImage(int sizeX, int sizeY)
148 buf = (GLubyte *)malloc(3*sizeX*sizeY);
149 gluScaleImage(GL_RGB, image->sizeX, image->sizeY, GL_UNSIGNED_BYTE,
150 image->data, sizeX, sizeY, GL_UNSIGNED_BYTE, buf);
153 image->sizeX = sizeX;
348 imageSizeX = (int)pow(2.0, (float)((int)(log(image->sizeX)/log(2.0))));
375 glTexImage2D(GL_TEXTURE_2D, 0, 3, image->sizeX, image->sizeY, 0,