Home | History | Annotate | Download | only in main

Lines Matching refs:newImage

382       GLfloat *newImage;
395 newImage = (GLfloat *) malloc(srcWidth * srcHeight * srcDepth
397 if (!newImage) {
410 newImage[i * texComponents + k] = 0.0F;
412 newImage[i * texComponents + k] = 1.0F;
414 newImage[i * texComponents + k] = tempImage[i * logComponents + j];
419 tempImage = newImage;
491 GLuint *newImage;
504 newImage = (GLuint *) malloc(srcWidth * srcHeight * srcDepth
506 if (!newImage) {
519 newImage[i * texComponents + k] = 0;
521 newImage[i * texComponents + k] = 1;
523 newImage[i * texComponents + k] = tempImage[i * logComponents + j];
528 tempImage = newImage;
622 GLubyte *newImage;
635 newImage = (GLubyte *) malloc(srcWidth * srcHeight * srcDepth
637 if (!newImage) {
650 newImage[i * texComponents + k] = 0;
652 newImage[i * texComponents + k] = 255;
654 newImage[i * texComponents + k] = tempImage[i * logComponents + j];
659 tempImage = newImage;