AUX_RGBImageRec* LoadBMP(char *Filename)
{
FILE *File=NULL;
if (!Filename)
{
return NULL;
}
File=fopen(Filename,"r");
if (File)
{
fclose(File);
return auxDIBImageLoad(Filename);
}
return NULL;
}
21 D:\Programming\OpenGL\resource.h expected constructor, destructor, or type conversion before '*' token
21 D:\Programming\OpenGL\resource.h expected `,' or `;' before '*' token
D:\Programming\OpenGL\resource.h In function `int LoadGLTextures()':
41 D:\Programming\OpenGL\resource.h `AUX_RGBImageRec' undeclared (first use this function)
Users browsing this forum: No registered users and 1 guest