摘要:
bool COpenGLES::CreatePNGTexture(GLuint texID, const CString filename){ printf("png图片路径=%s\n",filename); CxImage * image = new CxImage(); image->Destroy(); unsigned char *pImage_RGBA = NULL; if(!(image->Load(filename,CXIMAGE_FORMAT_PNG))) { printf("加载图片失败\n"); return false; 阅读全文