-typedef struct TGAImageRec
-{
- GLubyte *data; // Image Data (Up To 32 Bits)
- GLuint bpp; // Image Color Depth In Bits Per Pixel.
- GLuint sizeX;
- GLuint sizeY;
-} TGAImageRec;
-
-bool upload_image(const unsigned char* filePath, bool hasalpha);
-
-/**> FUNCTION PROTOTYPES <**/
-TGAImageRec* LoadTGA( char *filename );
-
+typedef struct ImageRec {
+ GLubyte *data; // Image Data (Up To 32 Bits)
+ GLuint bpp; // Image Color Depth In Bits Per Pixel.
+ GLuint sizeX;
+ GLuint sizeY;
+} ImageRec;
+
+bool upload_image(const char* filePath);