From f19d51206da37abf9bb7ef3fc9adb3a2c2d00bd3 Mon Sep 17 00:00:00 2001 From: Budi Purnomo Date: Mon, 18 Nov 2013 07:38:25 -0500 Subject: [PATCH] Updated the description of esLoadTGA to include 8-bit and 32-bit file. --- Common/Include/esUtil.h | 2 +- Common/Source/esUtil.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Common/Include/esUtil.h b/Common/Include/esUtil.h index 7a94896..7976f0a 100644 --- a/Common/Include/esUtil.h +++ b/Common/Include/esUtil.h @@ -249,7 +249,7 @@ int ESUTIL_API esGenCube ( float scale, GLfloat **vertices, GLfloat **normals, int ESUTIL_API esGenSquareGrid ( int size, GLfloat **vertices, GLuint **indices ); // -/// \brief Loads a 24-bit TGA image from a file +/// \brief Loads a 8-bit, 24-bit or 32-bit TGA image from a file /// \param ioContext Context related to IO facility on the platform /// \param fileName Name of the file on disk /// \param width Width of loaded image in pixels diff --git a/Common/Source/esUtil.c b/Common/Source/esUtil.c index 067220a..e80bc81 100644 --- a/Common/Source/esUtil.c +++ b/Common/Source/esUtil.c @@ -401,7 +401,7 @@ static int esFileRead ( esFile *pFile, int bytesToRead, void *buffer ) /// // esLoadTGA() // -// Loads a 24-bit TGA image from a file +// Loads a 8-bit, 24-bit or 32-bit TGA image from a file // char *ESUTIL_API esLoadTGA ( void *ioContext, const char *fileName, int *width, int *height ) {