Fix spelling mistakes

This commit is contained in:
Eric Engestrom
2016-04-03 01:38:00 +01:00
parent d094dfc3a1
commit 87e7cf00a2
72 changed files with 129 additions and 129 deletions

View File

@@ -234,14 +234,14 @@ int LoadGLTextures(const aiScene* scene)
std::string fileloc = basepath + filename; /* Loading of image */
success = ilLoadImage(fileloc.c_str());
if (success) /* If no error occured: */
if (success) /* If no error occurred: */
{
// Convert every colour component into unsigned byte.If your image contains
// alpha channel you can replace IL_RGB with IL_RGBA
success = ilConvertImage(IL_RGB, IL_UNSIGNED_BYTE);
if (!success)
{
/* Error occured */
/* Error occurred */
abortGLInit("Couldn't convert image");
return -1;
}
@@ -264,7 +264,7 @@ int LoadGLTextures(const aiScene* scene)
}
else
{
/* Error occured */
/* Error occurred */
MessageBox(NULL, ("Couldn't load Image: " + fileloc).c_str() , "ERROR", MB_OK | MB_ICONEXCLAMATION);
}
}