#include <stdio.h>#include "OpenGL.h"#include <string.h>#include <stdlib.h>#include <png.h>#include "texpng.h"#include "ctype.h"#include "lib/cg-lib.h"Functions | |
| void | loadPngTex (char *fname, struct tImagePNG *pImagePNG, int *hasAlpha) | 
| Charge une texture PNG.   | |
| void | ReverseImage (int width, int height, unsigned char *data, int bytesPerPixel) | 
| void | CheckImageDimensions (int sizeX, int sizeY, char *strFileName) | 
| void | CreateTexturePNG (unsigned int *textureId, char *strFileName) | 
      
  | 
  ||||||||||||||||
| 
 
  | 
  
      
  | 
  ||||||||||||
| 
 
  | 
  
      
  | 
  ||||||||||||||||
| 
 Charge une texture PNG. 
 
  | 
  
      
  | 
  ||||||||||||||||||||
| 
 
  | 
  
 1.4.1